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 | ActiveDoc |
View Updates
Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.