GetColumnCount Method (LISTVIEW)
PLBCMP GUI Only
The GetColumnCount method retrieves the number of columns defined 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 column count.
Flags Affected: OVER, ZERO
Note the following:
The number of columns includes normal user data columns and the special columns for background color, foreground color, and attributes.
The ZERO flag is set when the {return} value is zero.
The OVER flag is set if the value returned is too big to be stored into the {return} variable.
See Also: Method Syntax, LISTVIEW Methods
![]() |