List - ItemGotFocus Event

Fired when the item receives the focus

Member of List (PRIM_MD.List)

Parameters

NameTypeData TypeDescription
Item*InputPRIM_TREE.TreeItemReference to the item

Details

The ItemGotFocus event is triggered when an item gets focus.
 
Typically this happens when the user clicks on an item.
 
ItemGotFocus will set the list CurrentItem, returning the item's field values to the parent component.
 
This event corresponds to the OnItemGotFocus method on the Prim_Tree.iTreeDesign interface.
Using the ItemGotFocus event
Evtroutine Handling(#List.ItemGotFocus)
 
   #Editor.ShowEmployeee(#Empno)
 
Endroutine

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020