GetColumnText Method (LISTVIEW)


PLBCMP GUI Only

 

The GetColumnText method retrieves the text label of a column in a LISTVIEW object. The method uses the following format:

 

[label]

{object}.GetColumnText

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

 

Where:

label

Optional. A Program Execution Label.

object

Required. A LISTVIEW object that is accessed.

return

Optional. A Character String Variable that returns the text label of the column.

index

Required. A zero-based decimal number or Numeric Variable that specifies the column that is accessed.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. Upon completion, {return} will contain the text label of the column.

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

  3. The OVER and ZERO Condition Flags are always cleared.

 

 

See Also: Method Syntax, LISTVIEW Methods

 



PL/B Language Reference GetColumnOrderArray Method (LISTVIEW) GetColumnWidth Method (LISTVIEW)