TValueListEditor.GetAutoFillColumnInfo procedure
Gets the display priority for an auto-fill column.
Declaration
procedure GetAutoFillColumnInfo(const Index: Integer;
var aMin: Integer; var aMax: Integer;
var aPriority: Integer); overrideArguments
Index | Column number examined in the method. |
aMin | Not used in TValueListEditor. |
aMax | Not used in TValueListEditor. |
aPriority | Relative display priority for the column. |
Description
GetAutoFillColumnInfo is used to get the minimum and maximum
width, and relative display priority, for an automatically sized column in
the grid. GetAutoFillColumnInfo overrides the behavior from the ancestor
class to account for the two column limit for the grid.
Index is the column number examined in the method. When Index is 1
(the Value column), the relative priority is set to 1. When Index is 0 (the
Key column),
DisplayOptions is used to determine if the Key column
is fixed. The priority is set to 0 when fixed, or 1 when DisplayOptions does
not include the value
doKeyColFixed.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
