RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebBrowser.LocationURL Property

Identifies the URL or path of the document or folder currently displayed.

Pascal
property LocationURL: WideString;
C++
__property BSTR LocationURL;

Read LocationURL to get the name of the resource currently displayed in the Web browser control. If the resource is an HTML page from the Web, LocationName is its URL. If the resource is a folder or file on the local network or on a disk, LocationName is the full UNC name of the folder or file.

Note: LocationURL is a read-only property. To direct the Web browser to display the resource at a specific URL, folder, or file, use the Navigate or Navigate2 method.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!