List Cell Interface - OnItemGotReference Method

Executed whenever a related reference is assigned to the item via the RelatedReference property

Member of List Cell Interface (PRIM_LIST.IListCellDesign)

Parameters

Name Type Data Type Description
ListItem *Input PRIM_LIST.ListItem Reference to the list item whose RelatedReference has been set

Details

The OnItemGotReference method is executed whenever a data object instance is assigned to the item via the RelatedReference property.
 
This provides a simple means by which a data object and list item can be joined together, and then used to provide the values shown in the design.

Example

Redefine the method in the design reusable part.
Mthroutine Name(OnItemGotReference) Options(*redefine)
 
   * User code here
 
Endroutine
 

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020