List - ItemGotFocus Event
Fired when an item receives the focus
Member of List (PRIM_LIST)

Parameters

Name

Type

Data Type

Description

Item

*Input

PRIM_LIST.ListItem

Reference 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_List.iListCellDesign interface.

Example


Using the ItemGotFocus event
Evtroutine Handling(#List.ItemGotFocus)
#Editor.ShowEmployeee(#EmployeeNumber)
Endroutine

See also

All Component Classes
Technical Reference