I remember this issue when I first produce the editor. As you've noticed
the Background color is a prop of the Document object and not the
Browser control. It's been a while but I remember testing several
different methods without arriving at a solution that would allow for
persistence within the HTML source.
For detailed info on using the control see:
http://msdn.microsoft.com/library/de...p/author/dhtml
/reference/constants/formatblock.asp
If you find a solution please let me know and I will incorporate your
fix in the next release.
:-)
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"miTcheLL" <mitchell@"no_spam".topsideinc.com> wrote in message
news:1095702193.DO2sz+8CtE4hzj5fxHy4WA@teranews...
found this....
http://msdn.microsoft.com/library/de...p/author/dhtml
/reference/objects/body.asp
still not getting very far, may have to store the bgcolor in an
additional field
will keep you posted, let me know if anyone else has some ideas
"miTcheLL" <mitchell@"no_spam".topsideinc.com> wrote in message
news:1095691948.xjK8nViiH4uuiqXuUQ8DAA@teranews... Wow, what a sweet piece of work. Anybody familiar with this?
It all works beautifully for me with one exception. The form
background if changed doesn't seem to stick. It's like it strips out the <body
bgcolor="#66FFB3">
from the HTML. It only gets everything in-between <body> and
</body>. I see that this uses the Microsoft Web Browser ActiveX control.
I see that the HTML is passed to the form by assigning the txtMemo
field to Me.WBrowser.Object.Document.body.innerHTML
I have been unable to find detailed documentation on the MS Web
Browser control. There is limited info on the Office 97 CD. Is there an
outerHTML property or some other that would pick up more of the HTML?
Any help would greatly be appreciated in advance,
Thanks,
miTch