AppendDynamicObject - cWebDynamicObjectContainer
Appends new dynamic objects at the end of its parent's list of children
Type: Procedure
Parameters
| Parameter | Type | Description |
|---|---|---|
| sDynamicObjectId | String | Object to append |
Syntax
Procedure AppendDynamicObject String sDynamicObjectId
Call Example
Send AppendDynamicObject sDynamicObjectId
Description
Appends new dynamic objects at the end of its parent's list of children.
Sample
This sample creates dynamic objects oGroup1 in a container (oContainer) that already contains other objects displayed on the screen. The oGroup1 object will be placed at the bottom og its parent's list of child objects.
Procedure CreateGroup1 Handle ByRef hoGroup1
Get CreateDynamicObject of oContainer (RefClass(cWebGroup)) "oGroup1" "" to hoGroup1
Send InitDynamicProp of hoGroup1 "piColumnCount" 4
Send InitDynamicProp of hoGroup1 "psCaption" "GROUP1"
Send AppendDynamicObject of oContainer "oGroup1"
End_Procedure
| Col 1 | Col 2 |
|---|---|
| Note: | You need to use AppendDynamicObject when you insert new dynamic objects after other objects have already been rendered. When you start with a clean container (first render or after calling ResetContainer) you use CreateDynamicObject and then Activate. If you already have objects on the screen, you use CreateDynamicObject and then AppendDynamicObject (or InsertDynamicObject or PrependDynamicObject) to add the new object to the screen. |