Development Tools > Hypertext Tools > ThtmlViewer

You can use the ThtmlViewer VCL component to display HTML documents in an application created with Borland Delphi. ThtmlViewer supports most of the HTML 2.0 tags and some HTML 3.0 tags. It will also render JPG, GIF and PCX graphics files both as inline images and tiled backgrounds. The component can display HTML files stored on local drive or a file server. You will need to add a separate HTTP component to connect to the Internet and an Intranet.

Features

ThtmlViewer does no include its own button bar or menus for the basic browser functions, like returning to a previous document. You will need to use other component and write code to add these features.

The ThtmlViewer is very fast. It renders large jpeg images very quickly and accurately. It can support all types of font formatting, including color, size and font face.

Tables can be a very useful devise for presenting and summarizing information. The ThtmlViewer supports all the HTML table tags including embedded tables. The viewer can also render all the HTML form components.

With ThtmlViewer you can set up your application to open a secondary hypertext window when a user clicks on a hypertext link. You can do this by creating a small application with the ThtmlViewer component. You would then add a hypertext link to a HTML document that will start your secondary window application and display the HTML document specified in the hypertext link. You can also use this feature to launch other applications, like the Windows Calculator or Notepad.

Assessment

ThtmlViewer's speed and flexibility makes it an ideal tool for embedding a hypertext document window in a Borland Delphi application.