You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

List Checkbox control - FocusItem Property
Reference to the check box in the focus entry of the list
Member of List Checkbox control (PRIM_MD.ListCheckBox)
Data Type - PRIM_MD.ListCheckBoxCurrentItem - Provides access to the checkbox 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 (#CheckBox.FocusItem.CheckState = Checked)
...
Endif
Endif

See also

All Component Classes
Technical Reference

  • No labels