List FlatButton control - FocusItem Property

Reference to the flat button in the focus entry of the list

Member of List FlatButton control (PRIM_MD.ListFlatButton)

Data Type - PRIM_MD.ListFlatButtonCurrentItem - Provides access to the flat button for the current list item.


The FocusItem property of a list FlatButton allows access to the individual items within the list entries.
A list FlatButton 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 (#FlatButton.FocusItem *isnot *null)
   If (#FlatButton.FocusItem.Value <> "")

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020