[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Adjusts column properties to accommodate the largest value in the specified column.
Source position: grids.pas line 982
protected procedure TCustomGrid.AutoAdjustColumn( |
aCol: Integer |
); virtual; |
aCol |
|
Column number adjusted in the method. |
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.
|
Contains the set of optional features and/or behaviors enabled for the grid control. |
|
|
Performs actions needed to handle mouse double click events in the control. |
|
|
Automatically adjusts columns sizes to the width of their content. |
|
|
Adjusts the column size for the font, text length, and images used in the specified column. |
|
|
Set type used to store enabled grid options. |
Version 4.0 | Generated 2025-05-03 | Home |