Web Browser

BlitzPlus Forums/BlitzPlus Programming/Web Browser

nyybaseball(Posted 2014) [#1]
Im programming a simple web browser but am running into some trouble. The website covers the input box that the user enters the website into. How can I get the website almost full screen with just some room for the input box? Thanks.

source code:
Global defaultsite$ = "http:\\www.weather.com"
win=CreateWindow("Daniels web Browser",100,100,800,600,0,35)
html = CreateHtmlView(0,0,500,500,win)
SetGadgetLayout html,1,1,1,1
textf = CreateTextField(100,10,200,50,win)

HtmlViewGo html, defaultsite$
textf = CreateTextField(100,10,200,50,win)
Repeat
id = WaitEvent()
If id=$803 Then Exit
Forever

End


Leon Drake(Posted 2014) [#2]
why exactly are you creating the textfield twice?