Set Collection - Collects Property

The class of object to be collected

Member of Set Collection (PRIM_SCOL)

Data Type - PRIM_OBJT - Base object, use it as the ancestor of components which are not visualized

Details

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.

Example

Define_Com Class(#prim_scol<#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