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

the clickH

clickH()

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

the clickH
put the clickH div 2 into whichHalf

Additional Comments
Expander triangle

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

Value:

The clickH function returns a non-negative integer.

Comments:

The returned value is the horizontal distance in pixels from the left 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 clickH returns the position of the mouse as it was when the mouseDown action ocurred.

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

User Comments
Expander triangle