[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Clears the cached fixed rows and row count values for the grid control.
Source position: grids.pas line 1313
public function TCustomGrid.ClearRows: Boolean; |
True if the rows are cleared in the method.
ClearRows is a Boolean function used to all rows in the grid control. This includes the fixed row for the control. The return value is True if rows are successfully cleared in the method. It is False if the grid is already empty.
Sets EditorMode to False if a cell editor is visible on the grid control. Sets values in the FixedRows and and RowCount properties to 0 (zero).
It does not change values in the FixedCols or ColCount properties.
|
Clear all cells in the grid. |
lazarus-ccr.sourceforge.net |