Question
1
Replies
22
Views
Posted: June 3, 2020
Last activity: June 4, 2020
Window Position
How can I determine the position of a window, i.e. a web page, on the screen?
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
How can I determine the position of a window, i.e. a web page, on the screen?
Pega Collaboration Center has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.
The simplest way is to use the Location property of the main window control. In the case of a web page, you'd need to use the location property of the main page (i.e. not any of the internal frames) and this location would be relative to any toolbars in IE and offset by the height of the controls above the main page container. Using the main window control is more accurate in terms of where the actual window is located.