SHDocVw.TWebBrowser.LocationURL

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property LocationURL: WideString index 211 read GetWideStringProp;

C++

__property System::WideString LocationURL = {read=GetWideStringProp, index=211};

Properties

Type Visibility Source Unit Parent
property public
SHDocVw.pas
SHDocVw.hpp
SHDocVw TWebBrowser

Description

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

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.

See Also