TCustomGrid.AutoAdjustColumn procedure
Adjusts column properties to accommodate the largest value in the specified column.
Declaration
procedure AutoAdjustColumn(aCol: Integer); virtualArguments
aCol | Column number adjusted in the method. |
Description
AutoAdjustColumn is called from the
DblClick method
when the values
goColSizing and
goDblClickAutoSize have
been included in the
Options property.
AutoAdjustColumn has an empty implementation in
TCustomGrid, and must be overridden in a descendent class like
TCustomStringGrid.
AutoAdjustColumn is called from the AutoAdjustColumns method. It also occurs when the mouse is double-clicked on the cell header and column auto-sizing (goColSizing) has been enabled in the Options for the grid control.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
