MOUSEONleftbuttondown
leftbuttonup
rightbuttondown
rightbuttonup
move
Starts trapping mouse events that are sent to the "FMSLogo" window and passes them to leftbuttondown
, leftbuttonup
, rightbuttondown
, rightbuttonup
, or move
, depending on the type of event.
The callbacks may either be a word that is the name of a procedure to call, or a list of instructions to run.
All "callbacks" for the mouse are automatically run in NOYIELD mode.
To obtain where the mouse was when a button was pushed or the mouse moved call MOUSEPOS in your button or move procedure.
PENUP MOUSEON [SETPOS MOUSEPOS PENDOWN] [PENUP] [] [] [SETPOS MOUSEPOS]
Move the mouse around. Hold down the left button to draw.
MOUSEOFF
MOUSEOFF |