New topic: 

HTML Viewer

<http://forums.realsoftware.com/viewtopic.php?t=29664>

       Page 1 of 1
   [ 4 posts ]                 Previous topic | Next topic         Author  
Message       tcbasic           Post subject: HTML ViewerPosted: Thu Aug 20, 
2009 6:50 pm                        
Joined: Sat Jun 30, 2007 11:21 pm
Posts: 52
Location: Pembroke Pines, FL (USA)              Hey All,

I'm using the HTML viewer to create a simple web browsing utility to add some 
additional functionality to a project I am working on but I can't seem to 
figure out how to clear the viewer after I've loaded a URL so that it is blank 
again as If I just opened it with no content.

So, is there a way to do this?  If so, how?

Thanks.

Tom
Realbasic 2009r3
Windows Vista   
                            Top                computerfreaker           Post 
subject: Re: HTML ViewerPosted: Thu Aug 20, 2009 6:58 pm                        
       
Joined: Thu Mar 05, 2009 1:03 pm
Posts: 1415
Location: USA              Try making it load a blank URL?
Code:HTMLViewer1.LoadURL ""     
_________________
With great power comes great responsibility.
Learn something new every day, and the rest will take care of itself.
Life is a journey, not a destination. Enjoy the trip!   
                            Top                Den           Post subject: Re: 
HTML ViewerPosted: Thu Aug 20, 2009 9:23 pm                        
Joined: Mon Jul 03, 2006 3:44 pm
Posts: 172
Location: South France              Try:
HTMLViewer1.LoadURL "about:blank"

(the colon character is converted to "&#058;" when inside code tags)     
_________________
Den  
                            Top               tcbasic           Post subject: 
Re: HTML ViewerPosted: Fri Aug 21, 2009 12:50 pm                        
Joined: Sat Jun 30, 2007 11:21 pm
Posts: 52
Location: Pembroke Pines, FL (USA)              That's what I was looking for, 
thanks!

Tom   
                            Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 4 posts ]     
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to