# URL Property

## Applies to

THtmlViewer, TFrameViewer, and TFrameBrowser components

Declaration

property URL: String;

## Description

Read only and run time only. The URL property returns the most recently selected (left mouse click) URL.

The URL property contains the URL exactly as it is read from the document. In some cases, it may be necessary to do some conversion to the string before using it. Depending on your application and the documents you are using, you might want to:

Convert from Internet format to Dos format using the HTMLToDos function.

Add a path if it doesn't already have one. The Base property provides the base path. If the Base property is empty, the path expected is generally that of the HTML document.

See Also

Target Property