Error getting tags :
error 404Error getting tags :
error 404 clickV | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
clickV
Basics
Expander triangle
Type
Function
Syntax

the clickV

clickV()

Introduced
1.0
Environment
Desktop,Web
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Returns the vertical position of the most recent mouse click.
Examples

the clickV
if the clickV > the bottom of stack window then beep

Additional Comments
Expander triangle

Use the clickV function to find out where the user last clicked.

Value:

The clickV function returns a positive integer.

Comments:

The returned value is the vertical distance in pixels from the top edge of the clicked stack to the location of the click. (Use the clickStack function to identify which stack was clicked.)

The click location is the position of the mouse pointer when the user pressed the mouse button, not when the user released the button. In particular, inside a mouseDown handler, the clickV returns the position of the mouse as it was when the mouseDown action occured.

This function is equal to item 2 of the clickLoc function.

User Comments
Expander triangle