Skip to content

OnWidgetAdded - cWebWidgetContainer

Called after a Widget has been added successfully

Type: Event

Parameters

Parameter Type Description
WidgetDef tWidgetDef Struct containing the information of the WebWidget to be added
hoWidgetClass Handle Handle to the class of the Widget, e.g. (RefClass(cMyWidgetClass))

Syntax

Procedure OnWidgetAdded tWidgetDef WidgetDef Handle hoWidgetClass

Description

Called after a Widget has been added successfully.

Use this to insert your own business logic to be executed afterwards such as storing a reference, rearranging a layout, etc.