Keyed Collection - KeyedBy Property

KeyedBy specifies the field used to identify a form instance

Member of Keyed Collection (PRIM_KCOL)

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

Details

KeyedBy specifies the repository field type be used to identify an item in the collection.

Example

This example shows a keyed collection of Panels keyed by a 128 byte anlphanumeric field.
 
Provided the value used to identify the item when it's added adheres to the rules of #xDemoAlpha128, the value can be used.
Define_Com Class(#Prim_kcol<#Prim_panl #xDemoAlpha128>) Name(#Dictionary)

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2