The class of object to be collected
Member of List Collection (PRIM_LCOL)
Data Type - PRIM_OBJT - Base object, use it as the ancestor of components which are not visualized
Collects specifies the class of components that can be stored in the collection. Collections can store any object that has this class in its inheritance structure.
The example below defines a collection of buttons.
Define_Com Class(#prim_lcol<#Prim_phbn>) Name(#Buttons)
Collection items can be accessed by item number as below.
#Buttons<123>.Caption := "Caption 1" #Buttons<#ID>.Caption := "Caption 1"
LANSA Version 15, April 2020