Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

List Collection - Collects Property

Panel
bgColor#2c3c4c

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

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

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"


See also

All Component Classes

Technical Reference