GetItemParam Method (LISTVIEW)


PLBCMP GUI Only

 

The GetItemParam method retrieves the user parameter value for a specified item in a LISTVIEW object. The method uses the following format:

 

[label]

{object}.GetItemParam

[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 user parameter value.

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 the user parameter value of the item within the object.

  2. If the value returned is zero, the ZERO Condition Flag is set.

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

  4. The EOS Condition Flag is always cleared.

 

 

See Also: Method Syntax, LISTVIEW Methods

 



PL/B Language Reference GetItemNum Method (LISTVIEW) GetItemRect Method (LISTVIEW)