[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Performs actions needed when a column header is clicked or dragged for the grid control.
Source position: dbgrids.pas line 487
protected procedure TCustomDBGrid.HeaderClick( |
IsColumn: Boolean; |
index: Integer |
); override; |
IsColumn |
|
True if the click notification is for a column. False if the notification is for a row. |
index |
|
Ordinal position in Columns for the column click notification. |
HeaderClick is an overridden method in TCustomDBGrid. It reimplements the method introduced in TCustomGrid to call the private DoHeaderClick method when a column header is clicked (IsColumn is True). This causes the OnTitleClick event handler to be signalled (when assigned) if a column has been defined for the column number in Index.
HeaderClick does not call the inherited method.
HeaderClick is called from the inherited MouseUp and DialogChar methods.
|
Event handler for mouse clicks on a Title cell. |
|
|
Performs actions needed when a mouse click occurs in a fixed header for a grid column or row. |
|
|
Handles a mouse up event for the grid control. |
|
|
Applies an accelerator key for a column in the grid. |
Version 3.2 | Generated 2024-02-25 | Home |