[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Grids' (#lcl)

TCustomStringGrid.AutoSizeColumns

AutoSizeColumns - automatically resizes all columns by adjusting them to fit in the longest text in each column

Declaration

Source position: grids.pas line 1426

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 method of applying AutoSizeColumn() for every column in the grid.

This page is hosted on Get Lazarus Code and Component Repository at SourceForge.net. Fast, secure and Free Open Source software downloads