[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Indicates whether the specified mouse button can be handled when mouse down messages are processed for for the grid control.
Source position: dbgrids.pas line 497
protected function TCustomDBGrid.MouseButtonAllowed( |
Button: TMouseButton |
):Boolean; override; |
Button |
|
Mouse button checked in the method. |
True if the specified mouse button is handled in the class instance. False if the mouse button is processed by the ancestor class.
MouseButtonAllowed is an overridden method in TCustomDBGrid used to determine whether the specified mouse button can be handled by the grid control. It re-implements the method from the ancestor class, and does not call the inherited method.
The return value is True when the DataLink is Active, and Button contains mbLeft or dgAnyButtonCanSelect has been included in the Options for the control.
MouseButtonAllowed is called when mouse button events are handled in the MouseDown method.
|
Datalink for the component with event handlers for the linked dataset. |
|
|
Contains the optional features or behaviors that are enabled for the grid control. |
|
|
Handles mouse down messages in the control and signals the OnMouseDown event handler. |
|
|
Maintains an association between a component and a dataset. |
|
|
Stores values from the TDbGridOption enumeration. |
|
|
Enumerated type containing options available for use in a database grid control. |
|
Version 3.2 | Generated 2024-02-25 | Home |