2.39 .colcount
The attribute defines the number of columns.
Definition
-
Data type
integer
-
Access
get, set
-
changed event
yes

-
C
Data type: DT_integer
-
COBOL
Data type: DT-integer
-
Classification
object-specific attribute
-
Objects
This attribute defines the total number of columns in a tablefield. The value range is 0 - 65535.
This number does not necessarily have to be used in the actual tablefield, but is used to ensure the correctness of the horizontal scrollbar.
The attribute defines the number of columns in the detail view.
Value range
0 |
Clears the listview object. |
> 0 |
Number of columns in the detail view. |
The value of .colcount can be implicitly increased by adding one new column to .content at a time.
Column 1 is shown in all views.
For invalid values, the default value 1 is used. The attribute value is not changed, however.
Note
Changing the attribute in the visible state may cause the object to flicker.
See also
Attribut