Sorted Array Collection - Collects Property

The class of object to be collected

Member of Sorted Array Collection (PRIM_SACO)

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_saco<#Prim_phbn>) Name(#Buttons)
Collection items can be accessed by item number as below.
#Buttons<123>.Caption := "Caption 1"
#Buttons<#ID>.Caption := "Caption 1"

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020