[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Clears the values in the FixedCols and Cols properties.
Source position: grids.pas line 1339
public function TCustomGrid.ClearCols: Boolean; |
True if the vales are successfully cleared in the method.
ClearCols is a Boolean function used to reset values stored in the FixedCols and Cols properties. No actions are performed in the method when the Cols property is empty (Count=0). In this case, the return value is False.
ClearCols ensures that values in EditorMode, ColCount, and FixedCols are reset. For ColCount, this means the length of the internal Integer list is set to 0. The top, left column offset for the visible area in the control is also reset in GCache.
ClearCols is called from the Clear method prior to updating other visuals aspects for the control.
|
Number of columns in the grid. |
|
|
The number of fixed columns in the grid. |
|
|
True when the Editor is ready to modify the value for the current cell. |
|
|
Clears all cells in the grid control. |
Version 3.2 | Generated 2024-02-25 | Home |