GetCursorX

Gets the X-coordinate of the mouse cursor on the screen.

Function Group Execution Windows Embedded Thin Client Mobile Access
GetCursorX System Info Synchronous Supported Supported Supported Not supported

Syntax

Web Studio Help ction systeminfo getcursorx.xml d215146e76 GetCursorX

This function takes no parameters.

Returned value

This function returns the X-coordinate of the cursor on the screen, or −1 if an error occurs.

Examples

Tag Name Expression
  GetCursorX( ) // Returned value = 1024

GetCursorX