PDA

View Full Version : Opening a new window with a browser to a determined size.



ajones14
04-01-2003, 12:34 PM
Hello: Just got the program and love it, I am wanting to make a link within my app. that will launch an independent HTML page to a determined size. I know how this works in java, but what do I accompany with the "file-open" command to make sure that is open to 500x400? Thanks for any help.

Worm
04-01-2003, 12:51 PM
You could use the WebBrowserObject, load a HTM file that runs the javascript in the ONLOAD event to open the set Height and Width page the way you're accustomed to doing in HTML.

Set the WebBrowserObject to a a Height of 1pixel and a width of 1pixel so that it isn't noticable on your page.