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

TCustomGrid.Clear

Clear all cells in the grid.

Declaration

Source position: grids.pas line 1314

public procedure TCustomGrid.Clear;

Description

Resets the column and row counts to 0 (zero). The content in the Grid is emptied.

Compatibility: This applies to Lazarus grids only; under Delphi/Kylix a grid can't be completely emptied.