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:

 

[label]

{object}.GetItemCheck

[GIVING {return}] USING [*Index=]{index}

 

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:

  1. Upon completion, {return} will contain a one (1) if the item is checked or a zero (0) if it is clear.

  2. If the value returned is zero, the ZERO condition flag is set.

  3. If {return} is too small to contain the text string, the OVER Condition Flag is set.

  4. The EOS Condition Flag is always cleared.

  5. The CHECKBOX property must be set to $ON for the object.

 

 

See Also: Method Syntax, LISTVIEW Methods

 



PL/B Language Reference GetIconSpacing Method (LISTVIEW) GetItemCount Method (LISTVIEW)