Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

screenX property

Sets or retrieves the x-coordinate of the mouse pointer's position relative to the user's screen. For the standards based property, see screenX.

Syntax

JavaScript

p = object.screenX

 

Property values

Type: Integer

the x-coordinate, in pixels.

Remarks

For events, the property is read-only in Microsoft Internet Explorer 4.0, and read/write in Microsoft Internet Explorer 5 and later. The window property is read-only.

See also

event
window

 

 

Show:
© 2017 Microsoft