Unit 'Grids' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TCustomStringGrid.AutoSizeColumns

Resizes all columns to fit in the longest text in each.

Declaration

Source position: grids.pas line 1774

public procedure TCustomStringGrid.AutoSizeColumns;

Description

Automatically resizes all columns by adjusting them to fit in the longest text in each column. This is a quick way to perform the AutoSizeColumn method for every column in the grid.

See also

TCustomStringGrid.AutoSizeColumn

  

Automatically adjusts the width of a column to accommodate the widest text value.