Skip to content

OnRegisterWidgets - cWebWidgetContainer

Fired on application startup and is used to let the container know what widgets can be created inside this container

Type: Event

Syntax

Procedure OnRegisterWidgets

Description

This important event is fired on application startup and is used to let the container know what widgets (cWebWidget) can be created inside this container.

Use RegisterWidget to register individual widgets.

Procedure OnRegisterWidgets 
    Send RegisterWidget (RefClass(cWidgetCustomers)) 
    Send RegisterWidget (RefClass(cWidgetOrders)) 
End_Procedure