TGridColumn.SizePriority property
The auto-sizing priority for the column.
Declaration
property SizePriority: Integer read GetSizePriority write SetSizePriority stored IsSizePriorityStored;Description
0 indicates that the column is not one of the auto-sized columns in the Grid control. A non-zero value causes the column width to be adjusted when AutoFillColumns is enabled in the Grid control. If all of the columns in a grid control have SizePriority set 0, the last column is resized when AutoFillColumns is enabled.
Use MinWidth and MaxWidth to set the smallest and largest sizes for the column when the column is resized - either manually (by dragging the header border) or when AutoFillColumns is enabled in the Grid control.
Use Width to set the default size for the column in pixels.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
