[Overview][Constants][Types][Classes][Procedures and functions][Index] |
AutoSizeColumn - automatically adjust width of column to accommodate widest text
Source position: grids.pas line 1478
public procedure TCustomStringGrid.AutoSizeColumn( |
aCol: Integer |
); |
This procedure sets the column width to the size of the widest text it finds in all rows for the column aCol.
Tip: see the goDblClickAutoSize option to allow columns to be automatically resized when doubleClicking the column border.
lazarus-ccr.sourceforge.net |