[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Performs actions when a column or a row is deleted from the control.
Source position: grids.pas line 1390
protected procedure TCustomDrawGrid.ColRowDeleted( |
IsColumn: Boolean; |
index: Integer |
); override; |
ColRowDeleted is an overridden method used to remove the specified column or row, and perform a notification for the change.
IsColumn indicates whether a column or a row is affected in the method. When set to True, a column is removed. Othewise, a row is removed.
Index contains the column or row number removed in the method.
ColRowDeleted calls the DeleteColRow method in Grid to remove the pointers in the virtual grid for the column or row. NotifyColRowChange is called to perform a notification for the action by signalling the OnColRowDeleted event handler (when assigned).
ColRowDeleted in called from the DoOPDeleteColRow method (in the ancestor class) after removing the column or row in Index from the internal list of column widths, and updating the cached grid information in GCache.
|
Performs actions when a column or a row is deleted from the control. |
lazarus-ccr.sourceforge.net |