window.getPosition
| Syntax |
window.getPosition (title, horizAddr, vertAddr)
|
| Params |
title is the name of a window. horizAddr is the Object Database location where you wish the window's horizontal coordinate position stored. vertAddr is the Object Database location where you wish the window's vertical coordinate position stored.
|
| Action |
Retrieves and stores the position of a window.
|
| Returns |
True if the window is open and horizAddr and vertAddr are set; false otherwise.
|
| Examples |
window.getPosition (window.frontMost (), @h, @v); msg (h + ", " + v) » 127,214
The return value "127,214," or something like it, displays in Frontier's Main Window.
The return value "689,34," or something like it, displays in Frontier's About Window - this system obviously has a big screen or a second monitor! msg (h + ", " + v)
The return value displays in the Main Window. |
| See Also |
window.setPosition
|