Sign in Join
FPDoc Onlineexperiment

TCustomUpDown.DoMouseWheelDown function

Member of TCustomUpDownprotectedIn unit ComCtrls

Performs actions when a mouse wheel down event occurs for the control.

Declaration

pascal
function DoMouseWheelDown(Shift: TShiftState; MousePos: TPoint)
: Boolean; override

Arguments

Shift

Shift, Ctrl, or Alt modifier for the mouse wheel event.

MousePos

Coordinates for the mouse pointer when the wheel event was received.

Function result

Returns True if the mouse wheel event was handled by an OnMouseWheel event handler in the ancestor class.

Description

DoMouseWheelDown is an overridden method in TCustomUpDown. It calls the inherited method on entry to signal an assigned OnMouseWheelDown event handler for the control. If the mouse wheel event was not handled in the ancestor class, and a handle for the widget has not been assigned, the Click method for the decrement speed button is called to apply the mouse wheel event to the control.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.