GetItemCheck Method (TREEVIEW)
PLBCMP GUI Only
The GetItemCheck method returns the checked state for a specified item in a TREEVIEW or object. The method uses the following format:
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A TREEVIEW object that is accessed.
return
Optional. A Numeric Variable that returns the item's check state.
index
Required. A decimal number or Numeric Variable that specifies the zero-based item accessed.
Flags Affected: EOS, OVER, ZERO
Note the following:
Upon completion, {return} will contain a one (1) if the item is checked or a zero (0) if it is clear.
If the value returned is zero, the ZERO condition flag is set.
If {return} is too small to contain the value, the OVER Condition Flag is set.
The EOS Condition Flag is always cleared.
The CHECKBOX property must be set to $ON for the object.
See Also: Method Syntax, TREEVIEW Methods
![]() |