TPNGImage help

PNG Delphi

Components > TPNGButton > Events > OnMouseMove


Called when the user is moving the mouse cursor on the button area.

type
TMouseButton = (mbLeft, mbRight, mbMiddle);
type TShiftState = set of (ssShift, ssAlt, ssCtrl, ssLeft, ssRight, ssMiddle, ssDouble);
event OnMouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer);

Description

This event is called whenever the mouse cursor has moved while over the button (or while it has pressed the button over the control and is dragging it).
shift contains the state of keys that the user has pressend and X and Y are the position relative to the button upper-left boundaries that the user pressed the mouse button on.