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

TCustomStringGrid.Clean

Clean all cells in the grid subject to the given CleanOptions, optionally specifying a range of cells or a rectangular region.

Declaration

Source position: line 0

public procedure TCustomStringGrid.Clean; overload;

procedure TCustomStringGrid.Clean(

  CleanOptions: TGridZoneSet

); overload;

procedure TCustomStringGrid.Clean(

  aRect: TRect;

  CleanOptions: TGridZoneSet

); overload;

procedure TCustomStringGrid.Clean(

  StartCol: Integer;

  StartRow: Integer;

  EndCol: Integer;

  EndRow: Integer;

  CleanOptions: TGridZoneSet

); overload;

Description

Cleans all cells in the grid subject to the given CleanOptions, optionally specifying a range of cells or a rectangular region. See TGridZoneSet for more information.

Some examples:

The latest version of this document can be found at lazarus-ccr.sourceforge.net.