SetColumnWidths Method (LISTVIEW)
10.3A, PLBCMP GUI Only
The SetColumnWidths method retrieves sets the width of all columns in a LISTVIEW object as determined from an input string that contains decimal values separated by a colon (:). The method uses the following format:
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A LISTVIEW object that is accessed.
return
Optional. A Numeric Variable that indicates the number of column width values processed.
Required. A Character String Variable that contains decimal values for the width of each column in a LISTVIEW. The decimal values are separated by a colon.
Flags Affected: EOS, OVER, ZERO
Note the following:
The {width} decimal values are specified in pixels for the width for each column.
If the value returned is zero, the ZERO Condition Flag is set.
If {return} is too small to contain the return count, the OVER Condition Flag is set.
The EOS Condition Flags are always cleared.
See Also: Method Syntax, LISTVIEW Methods
![]() |