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

the mouseV

mouseV()

Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
The mouseV property returns the vertical position of the pointer.
Examples

the mouseV
put the mouseV into savedLocation

Additional Comments
Expander triangle

Use the mouseV function to find out where the mouse pointer is.

Value:

The mouseV function returns an integer.

Comments:

The returned value is the vertical distance in pixels from the top edge of the current stack to the location of the mouse pointer. (Use the defaultStack property to identify the current stack.)

If the mouseV is positive, the pointer is below the top of the stack window. If the number is negative, the pointer is above the stack window.

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

Note: When in a mouseDown handler, you can use the clickV function to get the position of the mouse as it was when the mouseDown action occured.

Tip: The mouseMove message sends the mouse's vertical position as a parameter. This means that in a mouseMovehandler, normally it's not necessary to use the mouseVfunction.

User Comments
Expander triangle