GetHost(), IsHosted()
Use these functions to manipulate the browser supporting your Active Document.
Usage |
lIsOrIsnt = IsHosted() oBrowser = GetHost() |
Parameter |
Value |
Meaning |
lIsOrIsnt |
.T. |
Current form is hosted within a browser. |
.F. |
Form is not hosted in a browser. |
|
oBrowser |
Null |
No browser object is available. |
Object |
An object reference to the browser is acting as host. |
Example |
IF IsHosted() loBrowser = GetHost() WAIT WINDOW "Hosted by " + loBrowser.Name ELSE WAIT WINDOW "Not browsing" loBrowser = .NULL. ENDIF |
See Also |