User Tools

Site Tools

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



The MOUSEX procedure returns a numeric value corresponding to the current horizontal 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 MOUSEX is expressed in pixels.

Return Data Type: SIGNED


SaveMouseX = MOUSEX()   !Save mouse position

See Also:


mousex_return_mouse_horizontal_position_.htm.txt · Last modified: 2021/04/15 15:57 by