Dim s As String
Dim f As FolderItem

s = "<html><body>Hi there.</body></html>"
f = folder,folder,folder/index.html

My window has an HTMLViewer in it.

self.MyHTMLViewer.LoadPage(s, f)  => HTMLViewerException ErrorNumber  
= 0, Message = ""
self.MyHTMLViewer.LoadPage(s, f.Parent)  => HTMLViewerException  
ErrorNumber = 0, Message = ""

In other words I can't get the HTMLViewer to work at all!


On Mar 8, 2007, at 9:46 AM, Sven E Olsson wrote:


On 2007-03-08, at 18:39, slave wrote:

> hi
>
> sorry I don't understand a line you wrote :)
> The htmlviewer component has an event NewWindow. Is this the event I
> need to write the code into? Well, look, I need the full functionality
> just like a normal browser. The new window should be able to write to
> the parent with:
> parent.document.write and so on.. is it that difficult? I thought that
> it could need a coupl of code lines... I might be wrong of course :)
>
> -- 
> Slave

No matter .. mostly bla..bla..bla..
But you asked about the HTMLViewer.LoadPage method?
And you get some error? Where?

Sven E
-----------------------
REALbasic 2007R1 OS X 10.4.8 Intel and 10.4.6 PPC
SEEdit Maxi THE XHTML EDITOR FOR MACINTOSH
http://www.seedit.info



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to