TCustomGrid.MouseButtonAllowed function
Indicates if the specified mouse button is a mouse down event used in the control.
Declaration
function MouseButtonAllowed(Button: TMouseButton): Boolean; virtualArguments
Button | TMouseButton value examined in the method. |
Function result
True if the specified mouse button is valid for the grid control.Description
Called from the MouseDown method to ignore Right mouse clicks in the grid control at design-time. This allows the mouse event to be handled as a context menu on the form design surface.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
