FindItemCheck Method (LISTVIEW)


PLBCMP GUI Only

 

The FindItemCheck method locates an item with a checked state within a LISTVIEW object. The method uses the following format:

 

[label]

{object}.FindItemCheck

[GIVING {return}] USING [*Start=]{start}

 

Where:

label

Optional. A Program Execution Label.

object

Required. A LISTVIEW object that is searched.

return

Optional. A zero-based Numeric Variable that specifies the next item or row with a checkmark.

start

Optional. A zero-based decimal number or Numeric Variable that specifies the item or row to begin searching.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. {start} defaults to a value of zero.

  2. If no item is found, {result} is negative one (-1).

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

  4. The OVER and EOS Condition Flags are always cleared.

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

 

 

See Also: Method Syntax, LISTVIEW Methods

 



PL/B Language Reference FindItem Method (LISTVIEW) GetAttributeColumn Method (LISTVIEW)