Important: The information in this document is obsolete and should not be used for new development.
Button
You can use theButtonfunction to determine whether the user pressed the
mouse button.
FUNCTION Button: Boolean;DESCRIPTION
TheButtonfunction looks in the Operating System event queue for a mouse-down event. If it finds one, theButtonfunction returnsTRUE; otherwise, it returnsFALSE. To determine whether the mouse button is still down after a mouse-down event, use theStillDownfunction.SEE ALSO
See "The Event Queue" on page 2-83 for information about the Operating System
event queue.