Parameter | Description |
---|---|
iClassId | ID of the class to be used for this object (like RefClass(cWebButton). |
sDynamicObjectId | Unique identifier for the dynamic object within this container. |
sParentId | Dynamic object id of the parent object, if the object should be at the root of the container then pass an empty string "". |
Object handle of the dynamic object
Function CreateDynamicObject Integer iClassId String sDynamicObjectId String sParentId Returns Handle
Call: | Get CreateDynamicObject iClassId sDynamicObjectId sParentId to HandleVariable |
Create a new dynamic object based on the provided details.
The object will be instantiated immediately, and the returned handle can be used to do further configuration.
Note that the created object will not be rendered automatically. For that either Activate or InsertDynamicObject / AppendDynamicObject / PrependDynamicObject must be used.
When using Activate then the order in which the objects are created will correspond to the order in which they will be displayed (when using the column layout).
Get CreateDynamicObject of oContainer (RefClass(cMyWebButton)) "oMyWebButton" "" to hoObj