RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebBrowser.LocationName Property

Identifies the short (UI-friendly) name of the URL or file currently displayed.

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

Read LocationName 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 the title of that page. 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. 

 

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