htmlview - A htmlview gadget handle
url$ - A URL identifier |
Changes the page currently displayed to that of the specified URL.
After calling HtmlViewGo, a gadget event will be generated with an event data value of 0 once the page's html has loaded. See also: CreateHtmlView, HtmlViewBack, HtmlViewForward, HtmlViewCurrentURL, HtmlViewEventURL, HtmlViewStatus, HtmlViewRun. |
; A Basic Blitz Web Browser!
win=CreateWindow("Basic Blitz Web Browser",100,100,500,500,0,35) html = CreateHtmlView(0,0,500,500,win) SetGadgetLayout html,1,1,1,1 ; ensure the HTML view will stretch to meet the size of the window when it is resized. HtmlViewGo html,"http:\\www.blitzbasic.com" ; a simple loop Repeat id = WaitEvent() If id=$803 Then Exit Forever End ; bye! |