Contents
- Index
- Previous
- Next
BaseURL property
Declaration
property BaseURL: WideString;
Description
Specifies the HREF attribute of the <BASE> element of the document.
The value of the property a base URL that is prepended to all relative URLs in the document.
The application can set this property to a new value at any time. If it does, when the control has finished resetting the BaseURL property, the document loaded in the control is re-parsed. Images (<IMG> elements) and hyperlinks (<A> elements) are reevaluated based on the new BaseURL value and, if necessary, the files referenced by these elements are reloaded.
While the control is re-parsing the document, the Busy property is set to True. When the document has been re-parsed, the OnSetBaseURL event is fired and the Busy property is set to False. The properties of the component are invalid until the OnSetBaseURL event has been fired. You should wait until that event has fired before attempting to manipulate the document.
Run-time only