Error getting tags :
error 404Error getting tags :
error 404 mouseClick | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
mouseClick
Basics
Expander triangle
Type
Function
Syntax
the mouseClick mouseClick()
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Returns true if the user has clicked since the event that caused the current handler to run (or since the last time the mouseClick was checked).
Examples

the mouseClick
wait until the mouseClick

Additional Comments
Expander triangle

Use the mouseClick function to keep track of clicks, or to trigger some action within a handler when the user clicks.

Value:

The mouseClick function returns true or false.

Comments:

On systems with multi-button mice, the mouseClick function tracks mouse button 1. Clicking mouse button 2 or 3 does not affect the value of the mouseClick.

Clicks generated by the click command do not affect the mouseClick function. Only an actual click can cause the mouseClick to return true.

Checking the mouseClick function clears any previous clicks. If the user clicks, and then the mouseClick is called, it returns true. If the mouseClick is then called again (and the user hasn't clicked again meanwhile), the function returns false.

User Comments
Expander triangle