Skip to content

Host - cWebApp

Returns a Handle to the Host object of this web object

Type: Function
Return Data Type: Handle

Syntax

Function Host Returns Handle

Call Example

Get Host to HandleVariable

Description

Returns a Handle to the Host object of this web object.

The host object is the cLocalWebControlHost/cLocalWebAppHost/cDbLocalWebControlHost that manages this web object.

You would use this handle to call AppSynching and other functions defined on the Host.

The Owner function will usually give the same handle unless the web object is managed by a cWebDynamicObjectContainer. Note that this replaces ghoWebApp which is not available when using FlexTron.

Return Value

Handle to the Host object