Navigation:  Language Reference > 13 - Built-in Functions >====== MOUSEY (return mouse vertical position) ====== Previous pageReturn to chapter overviewNext page

MOUSEY( )

blk2blue.jpg

The MOUSEY procedure returns a numeric value corresponding to the current vertical position of the mouse cursor at the time of the event. The position is relative to the origin of that window.

The default return value is in dialog units, unless modified by the PROP:Pixels property. If the PROP:Pixels property is set to TRUE (1), the return value of MOUSEY is expressed in pixels.

Return Data Type: SIGNED

Example:

SaveMouseY = MOUSEY()     !Save mouse position

See Also:

MOUSEX