GetColumnWidth Method (LISTVIEW)
PLBCMP GUI Only
The GetColumnWidth method retrieves the width of a column in a LISTVIEW object. 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 returns the width 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:
Upon completion, {return} will contain the width of the column in pixels.
If the value returned is zero, the ZERO (or Condition Flag is set.
If {return} is too small to contain the column width, the OVER Condition Flag is set.
The EOS Condition Flag is always cleared.
See Also: Method Syntax, LISTVIEW Methods
![]() |