List input field - FocusItem Property

Reference to the focus entry in the list

Member of List input field (PRIM_MD.ListEdit)

Data Type - PRIM_MD.ListEditCurrentItem - Provides access to the edit field of the current list item


The FocusItem property of a list edit allows access to the individual items within the list entries.
A list edit will only have a FocusItem if the FocusItem in the list has been set.


Testing for a focus item before accessing the value property of the item.
If (#Edit.FocusItem *isnot *null)
   If (#Edit.FocusItem.Value <> "")

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020