Add the components in the supplied collection to the end
Member of List Collection (PRIM_LCOL)
Name | Type | Data Type | Description |
---|---|---|---|
OtherList | *Input | PRIM_LCOL | Reference to another list collection to add |
The Append method is used to add the contents of another collection to the end of the collection. Both collections must be defined to collect the same object type.
In this example, both collections collect controls
Define_Com Class(#Prim_lcol<#Prim_Ctrl>) Name(#Controls) Define_Com Class(#Prim_lcol<#Prim_Ctrl>) Name(#Panels) #Controls.Append( #Panels )
In this example, one collection collects controls while the other collects panels. Append will return an error in the source.
Define_Com Class(#Prim_lcol<#Prim_Ctrl>) Name(#Controls) Define_Com Class(#Prim_lcol<#Prim_Panl>) Name(#Panels) #Controls.Append( #Panels )
Febuary 18 V14SP2