From 6cbcc2951bb9bbe6483ffe6eca02cbec379bf5c6 Mon Sep 17 00:00:00 2001 From: wp Date: Sun, 25 Aug 2019 15:11:24 +0000 Subject: [PATCH] doc: Clarify help on TCustomStringGrid.Clean. git-svn-id: trunk@61757 - --- docs/xml/lcl/grids.xml | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/docs/xml/lcl/grids.xml b/docs/xml/lcl/grids.xml index bfe0ec7530..9fc327f492 100644 --- a/docs/xml/lcl/grids.xml +++ b/docs/xml/lcl/grids.xml @@ -5588,13 +5588,10 @@ Application developers may use the OnSelection and OnBeforeSelection events to r - - TStringGrid - a specialized grid for displaying strings (text material) in a matrix of columns and -rows + TStringGrid - a specialized grid for displaying strings (text material) in a matrix of columns androws - - + @@ -11944,18 +11941,15 @@ initializes some local variables - - TCustomDrawGrid.Destroy + TCustomDrawGrid.Destroy AutoSizeColumn - automatically adjust width of column to accommodate widest text - -

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.

+

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.

@@ -11975,16 +11969,8 @@ initializes some local variables
- - Clean all cells in the grid subject to the given - CleanOptions, optionally specifying a range of cells or a rectangular region. - -

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

-

Some examples:

-
    -
  • Clean all cells: grid.Clean([]); (the same as grid.clean)
  • -
  • Clean all non fixed cells: grid.Clean([gzNormal]);
  • -
  • Clean all cells but don't touch grid column headers: Grid.Clean([gzNormal, gzFixedRows]);
  • + Clean all cells in the grid subject to the given CleanOptions, optionally specifying a range of cells or a rectangular region. +

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

    The cleaning operation does not change the number of rows and columns.

    Some examples:

    • Clean all cells: grid.Clean([]); (the same as grid.clean)
    • Clean all non fixed cells: grid.Clean([gzNormal]);
    • Clean all cells but don't touch grid column headers: Grid.Clean([gzNormal, gzFixedRows]);