New topic: 

Loading html from a edit field into HTMLviewer (again)

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

       Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic         Author  
Message       brianheibert.com           Post subject: Loading html from a edit 
field into HTMLviewer (again)Posted: Thu Oct 23, 2008 11:07 am                  
             
Joined: Thu Jan 25, 2007 7:38 pm
Posts: 361
Location: Loveland, OH USA              Hi,

I have used this code before to load html code from a edit field
into a HTMLviewer, and in this program my HTMLviewer is called HelpViewer

Code:
dim s as string
s =xdoc.helpeditor.text
xdoc.HelpViewer.LoadPage(s)



But when I modified it for my Xdoc application I get this...
This method requires more parameters than were passed.
and if I do this...

Code:
dim s as string
s = xdoc.helpeditor.text
xdoc.HelpViewer.LoadPage(s,"")



I get this...
Parameters were not compatible with this function.

What is wrong with that code?

Also I originally had a pagepanel with the editor edit field and another panel 
with the htmlviewer 
but that didn't work very well
So now I got the edit field set to not visible when htmlviewer is visible
and htmlviewer set to not visible when edit field is visible
And I have two buttons that switch this.

Brian   
                            Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]     

-- 
Over 900 classes with 18000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v8.1. 

&lt;http://www.monkeybreadsoftware.de/realbasic/plugins.shtml&gt;

[email protected]

Reply via email to