Contents - Index - Previous - Next


ColWidths property



Applies to
TProfGrid component

Declaration
property ColWidths[ACol: Integer]: Word;

Description

Indicates the width (in pixels) of all visible (non-hidden) columns in the grid.

Read ColWidths to determine the width of the cells in the column specified by the ACol parameter. An index of 0 refers to the first column. Set ColWidths at runtime to change the width of an individual column. 

Use the ColCount property to determine the number of entries in the ColWidths array.

Tip:  If the width of a column has not been set explicitly, its width is DefaultColWidth.


Run-time only