Sign in Join
FPDoc Onlineexperiment

TCustomUpDown.DoMouseWheelUp function

Member of TCustomUpDownprotectedIn unit ComCtrls

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

Declaration

pascal
function DoMouseWheelUp(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 OnMouseWheelUp event handler in the ancestor class.

Description

DoMouseWheelUp is an overridden method in TCustomUpDown. It calls the inherited method on entry to signal an assigned OnMouseWheelUp 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 increment 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.