Versions Compared

Key

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

Sorted Dictionary Collection - Collects Property

Panel
bgColor#2c3c4c

The class of object to be collected

Member of Sorted Dictionary Collection (PRIM_SDCO)

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_dcol<#Prim_phbn #Prim_objt>) Name(#Buttons)

Collection items can be accessed using the key as below.

     #Buttons.Caption := "Caption 1"


See also

All Component Classes

Technical Reference