[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Grids' (#lcl)

TCustomGrid.AutoAdjustColumn

Adjusts column properties to accommodate the largest value in the specified column.

Declaration

Source position: grids.pas line 957

protected procedure TCustomGrid.AutoAdjustColumn(

  aCol: Integer

); virtual;

Arguments

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.

See also

TCustomGrid.Options

  

Contains the set of optional features and/or behaviors enabled for the grid.

TCustomGrid.DblClick

  

Performs actions needed to handle mouse double click events in the control.

TCustomStringGrid.AutoAdjustColumn

  

Adjusts the column size for the font, text and images used in the specified column.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.