GetItemImage Method (LISTVIEW)


PLBCMP GUI Only

 

The GetItemImage method retrieves the image index for a specified item in a LISTVIEW object. The method uses the following format:

 

[label]

{object}.GetItemImage

[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 image index.

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 image index 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 image index, the OVER Condition Flag is set.

  4. The EOS Condition Flag is always cleared.

 

 

See Also: Method Syntax, LISTVIEW Methods

 



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