Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

List Checkbox control - FocusItem Property

Panel
bgColor#2c3c4c

Reference to the check box in the focus entry of the list

Member of 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 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