2.56 .colwidth[integer]
This attribute is used to define the width of the individual 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
In a tablefield, .colwidth defines the width of individual columns in coordinate units (pixels, if .sizeraster is not set; grid units, if .sizeraster is set.). Unless specified differently, the default value for all columns is .colwidth[0].
This attribute defines the column widths in the detail view.
The value range of the index is 0 … .colcountt, where the value with index 0 is used as default value for not set values in the range 1 … .colcount.
Value range
0 |
The column width is calculated by the listview. The set value 0 is retained until the user changes the column width interactively. |
> 0 |
Width of the respective column in the detail view. |
For invalid values, the default value 0 is used. However, the attribute value is not changed.
Note
Changing the attribute in the visible state may cause the object to flicker.