[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Performs actions needed to handle mouse double click events in the control.
Source position: grids.pas line 1018
protected procedure TCustomGrid.DblClick; override; |
DblClick is an overridden method used to perform actions needed when a mouse Double Click event occurs in the grid control.
SelectActive is set to False to ignore an active cell or range selection in the control. The internal TGridState member for the control is set to gsNormal to reflect the new state for the control.
DblClick uses values in the Options property to determine whether double click is enabled for column or row sizing operations in the control. Some of the Options values relevant to DblClick include:
When the needed Options values are present, and match the current CursorState for the control, the corresponding action is performed. AutoAdjustColumn is called for a column resize action. RestoreCursor is called, and HeaderSized is called to signal completion of the column resize operation. Row resize actions for double click mouse events are not currently implemented.
If the values in Options or CursorState do not meet the required conditions, the inherited method is called.
|
Signals the OnDblClick event handler (when assigned). |
Version 4.0 | Generated 2025-05-03 | Home |