ColWidth

[property icon] ColWidth

Specifies the column width

Integer property

Applies to: Grid , GridCell


>

ColWidth

It can be used to set the column width of the grid column containing the current cell. The width is expressed in Dialog Box Units.

The ColSize enumerated property can be used to tell the grid to size columns automatically according to various rules.

Setting a column's width to 0 does not hide it. Even though it may appear to be invisible the column will still feature in the grid's tab order and scrollbar calculation.

See also

Grid methods, properties and events. GridCell methods, properties and events.