Sign in Join
FPDoc Onlineexperiment

TCustomSpeedButton.MouseMove procedure

Member of TCustomSpeedButtonprotectedIn unit Buttons

Performs actions needed for a mouse move message received for the control.

Declaration

pascal
procedure MouseMove(Shift: TShiftState; X: Integer; Y: Integer)
 ; override

Arguments

Shift

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

X

Horizontal coordinate where the mouse pointer was moved.

Y

Vertical coordinate where the mouse pointer was moved.

Description

MouseMove calls the inherited method on entry to update the pointer position for the DragManager (when active) and to signal the OnMouseMove event handler (when assigned).

No additional actions are performed in the method at design-time.

if a drag operation has been started in MouseDown, the internal TButtonState for the control is updated to reflect the values in AllowAllUp and Down. When the button state has changed, the control is redrawn.

See also

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