Page 1 of 1

How Do I Maximize The Window

Posted: Sat May 20, 2006 1:28 pm
by Anonymous
Here is my program so far, and I want the second window automatically maximized. You can manually by of course, clicking the Windows button.

Code: Select all

View.Set ("title: Web Browser")

var url : string
put "Enter the URL to load: " ..
get url

var line : string
put "Connecting to ", url
var netStream := Net.OpenURLConnection (url)

if netStream <= 0 then
    put "Unable to connect to ", url
    return
else
    put "Connected!"
end if

var winID := Window.Open ("text,title: " + url)
loop
    exit when eof (netStream)
    get : netStream, line : *
    put line
end loop
Net.CloseConnection (netStream)
[code] 

[color=#888888][size=85]Archived topic from Iceteks,  old topic ID:4354, old post ID:35044[/size][/color]