Skip to content

Host - cWebObject

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

Use this function to get a handle to the host for this Web Object.

The host object is the outermost object of a Web UI responsible for managing this object.

In server web applications, it is usually the cWebApp object, in FlexTron applications it is the cLocalWebControlHost or cLocalWebAppHost object.

You would use this handle to call functions like AppSynching.

Note that the Host is not necessary the same handle as the Owner, where the Owner can also point to a cWebDynamicObjectContainer.

Return Value

Handle to the Host object