[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Gets auto-fill information for the specified column.
Source position: grids.pas line 1086
protected procedure TCustomGrid.GetAutoFillColumnInfo( |
const Index: Integer; |
var aMin: Integer; |
var aMax: Integer; |
var aPriority: Integer |
); virtual; |
Index |
|
Position for the grid column examined in the method. |
aMin |
|
Minimum size for the column. |
aMax |
|
Maximum size for the column. |
aPriority |
|
Sizing priority for the column. |
GetAutoFillColumnInfo is a method used to get sizing information for an auto-fill column specified in Index. AMin, AMax, and APriority are variable arguments updated with the values for the requested column.
GetAutoFillColumnInfo calls ColumnFromGridColumn to get the TGridColumn instance in Columns with the requested values. If a column exists with the requested Index, its properties are stored in the variable parameters. When Index is a fixed column in the grid, the value in APriority is set to 0 (zero) which disables auto-sizing for the column. If Columns has not been Enabled for the control, or the column index is not valid, APriority is set to 1.
GetAutoFillColumnInfo is called when AutoFillColumns is set to True, and the column sizes are recalculated for the grid control.
|
Indicates whether columns are automatically resized to fill the visible area in the grid. |
|
|
Returns the grid column definition at the specified position in Columns. |
|
|
Definitions for the columns displayed the grid. |
|
|
The minimum size for the column in pixels. |
|
|
The maximum size for the column in pixels. |
|
|
The auto-sizing priority for the column. |
Version 4.0 | Generated 2025-05-03 | Home |