MouseX Property  
 

Return the current mouse pointer position in the display.

Syntax

object.MouseX

Remarks

The MouseX property returns the current position of the mouse pointer in the display. The current position is given in columns, not pixels. To calculate the pixel offset where the mouse pointer is located in the control window, multiply this value by the CellWidth property value.

Data Type

Integer (Int32)

See Also

CellWidth Property, CursorX Property, CursorY Property, MouseY Property