List Switch control - FocusItem Property

Reference to the switch in the focus entry of the list

Member of List Switch control (PRIM_MD.ListSwitch)

Data Type - PRIM_MD.ListSwitchCurrentItem - Provides access to the switch of the current list item

Details

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

Example

Testing for a focus item before accessing the value property of the item.
If (#Switch.FocusItem *isnot *null)
 
   If (#Switch.FocusItem.Check)
      ...
   Endif
 
Endif

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2