The class of object to be collected
Member of Array Collection (PRIM_ACOL)
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_acol<#Prim_phbn>) Name(#Buttons)
Collection items can be accessed by item number as below.
#Buttons<#ID>.Caption := "Caption 1" #Buttons<123>.Caption := "Caption 1"
LANSA Version 15, April 2020