GPMouseInteractor
Unit : GPInteractorUnit
Association : GPMouseInteractorAsn
Inherits from : GPEventInteractor
Description
- This class attaches behavior so that the program responds when the user
uses the mouse. It must be installed on a GPDrawingArea using the
InstallInteractor method.
Public Interface
-
CONSTRUCTOR Init;
Initializes a GPMouseInteractor.
DESTRUCTOR Destroy; VIRTUAL;
Destroys a GPMouseInteractor.
PROCEDURE ButtonDown (pt: GPPoint); VIRTUAL;
Called when one of the mouse buttons is pressed down. pt is set to the
position on the screen where the mouse pointer is located.
PROCEDURE ButtonUp (pt: GPPoint); VIRTUAL;
Called when one of the mouse buttons is released from the down position.
pt is set to the position on the screen where the mouse pointer is located.
PROCEDURE ButtonMotion (pt: GPPoint); VIRTUAL;
Called when the mouse is moving while one of the mouse buttons is being
held down. pt is set to the position on the screen where the mouse pointer
is located.
PROCEDURE MouseMotion(pt: GPPoint); VIRTUAL;
Called when the mouse is moving, regardless of the status of the mouse
button. pt is set to the position on the screen where the mouse pointer is
located.
Subclasses
- None
Please report any problems with GP or the documentation to
GP Support
.
Loring Holden