GetColumnWidths Method (LISTVIEW)


10.3A, PLBCMP GUI Only

 

The GetColumnWidths method retrieves retrieves the width of all columns in a LISTVIEW object and returns them in a string. The method uses the following format:

 

[label]

{object}.GetColumnWidths

[GIVING {return}]

 

Where:

label

Optional. A Program Execution Label.

object

Required. A LISTVIEW object that is accessed.

return

Optional. A Character String Variable that returns decimal values for the width of each column in a LISTVIEW. The values are separated by a colon (:) delimiter.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. Upon completion, {return} will contain a width for each column in pixels.

  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 GetColumnWidth Method (LISTVIEW) GetCountPerPage Method (LISTVIEW)