Click to See Complete Forum and Search --> : Setting the position of a new window


OhLordy
08-05-2003, 10:39 AM
Hi, I've been looking around at creating new windows but there is one thing I have not been able to find. How do I set where the window opens. I'd like it to open in the middle of the screen.
Thanks in advance for any help.
Rob

Khalid Ali
08-05-2003, 11:20 AM
you can use multiple approaches to do it.

set the properties
left =200,top=50,screenX=200,screenY=50

or window.moveTo(200,50)

OhLordy
08-06-2003, 10:36 AM
Thanks
Works perfectly