Skip to content

WidgetInstance - cWebWidgetContainer

Returns the handle to a widget instance based on the widget id

Type: Function
Return Data Type: Handle

Parameters

Parameter Type Description
sWidgetDynamicId String The dynamic object id of the widget

Syntax

Function WidgetInstance String sWidgetDynamicId Returns Handle

Call Example

Get WidgetInstance sWidgetDynamicId to HandleVariable

Description

Returns the handle to a widget instance based on the widget id.

Triggers an error if the widget does not exist.

Return Value

Handle to a widget instance