List Label control - FocusItem Property

Reference to the focus label in the focus entry of the list

Member of List Label control (PRIM_MD.ListLabel)

Data Type - PRIM_MD.ListLabelCurrentItem - Provides access to the label of the current list item


The FocusItem property of a list label field allows access to the individual items within the list entries.
A list DateTime field 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 (#Label.FocusItem *isnot *null)
   If (#Label.FocusItem = #Heading)

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020