GetItemCheck Method (LISTVIEW)
PLBCMP GUI Only
The GetItemCheck method retrieves the checked state for a specified item in a LISTVIEW or object. The method uses the following format:
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A LISTVIEW object that is accessed.
return
Optional. A Numeric Variable that returns the item's check state.
index
Required. A zero-based decimal number or Numeric Variable that specifies the item or row 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 text string, 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, LISTVIEW Methods
![]() |