Re: [BUG] RevBrowser fails to render from htmltext property if no url was loaded before.

2010-01-19 Thread Andre Garzia
in revbrowseropen) and then tries to set the content by setting the htmltext property of the revbrowserinstance, it will fail to set and will not render. If you set the url property to some url and then after rendering, you set the htmltext property, it will work. It appears

[BUG] RevBrowser fails to render from htmltext property if no url was loaded before.

2010-01-18 Thread Andre Garzia
If you create a revbrowser object on windows xp and didn't set it to go to any url (pass empty in revbrowseropen) and then tries to set the content by setting the htmltext property of the revbrowserinstance, it will fail to set and will not render. If you set the url property to some url

Re: [BUG] RevBrowser fails to render from htmltext property if no url was loaded before.

2010-01-18 Thread Jan Schenkel
create a revbrowser object on windows xp and didn't set it to go to any url (pass empty in revbrowseropen) and then tries to set the content by setting the htmltext property of the revbrowserinstance, it will fail to set and will not render. If you set the url property to some url and then after

can't trust htmltext property!

2005-11-29 Thread Andre Garzia
... Is there a solution or should I simply start rolling my own rich editor not trusting the HTMLText property... HELL the thing is even loosing attributes if you use something like p class=footermy text/p when you check the htmltext prop you end up with no attributes. I think it's okay

Re: can't trust htmltext property!

2005-11-29 Thread Dan Shafer
setting the htmlText property of a field and then examining the field contents, the resemblance between them is purely cosmetic. Chipp at Altuit has an HTML gadget which does some more stuff than the Rev IDE lets you do and I use it for editing HTML snippets from time to time. He may be able to shed

Re: can't trust htmltext property!

2005-11-29 Thread Eric Chatonet
Hi Andre, Unfortunately, Rev HTML is not HTML :-( From the docs: The HTMLText property uses a tag structure that is HTML-like, but is not completely standard HTML, in order to accommodate the full range of text styling available in Revolution. And: When you set the HTMLText of a field

Re: can't trust htmltext property!

2005-11-29 Thread Andre Garzia
for text style tags and would ignore everything else (ignore is different from loosing information). Cheers andre On Nov 29, 2005, at 4:02 PM, Eric Chatonet wrote: Hi Andre, Unfortunately, Rev HTML is not HTML :-( From the docs: The HTMLText property uses a tag structure that is HTML-like

Re: can't trust htmltext property!

2005-11-29 Thread Stephen Barncard
Yes, it would probably work better to roll your own RTF-to-HTML converters. RTF in rev seems to be pretty solid. I notice that rev's htmltext uses simple FONT tags inline, which is pretty old stuff in the web world - in fact not advised. At any rate, the numbers are in font SIZES 1 - xxx? -

Re: can't trust htmltext property!

2005-11-29 Thread Eric Chatonet
Hi again Andre, In fact, the htmlText property is very useful *inside* an app/stack: Get/set the htmlText of fld MyField but often fails when the source is coming from elsewhere... Le 29 nov. 05 à 19:09, Andre Garzia a écrit : thanks a lot... I should have known better I don't need

Re: can't trust htmltext property!

2005-11-29 Thread Richard Gaskin
Eric Chatonet wrote: Hi Andre, Unfortunately, Rev HTML is not HTML :-( From the docs: The HTMLText property uses a tag structure that is HTML-like, but is not completely standard HTML, in order to accommodate the full range of text styling available in Revolution. And: When you set

Re: can't trust htmltext property!

2005-11-29 Thread Chipp Walters
Hi Andre, I've had to write a basic HTML editor as well for Hemingway. I find you really need to use htmltext as a display engine for your own html parsers/wrappers, and nothing else. -Chipp ___ use-revolution mailing list

Re: can't trust htmltext property!

2005-11-29 Thread Andre Garzia
Chipp, Richard, Dan, Eric and Stephen, thanks for your insights. Only Rev this could be possible, in couple lines I just wrote a patch function that will pick htmltext from a field and do some mysterious magical procedures and convert it back to things I can use on my projects. I don't

HTMLtext property

2002-11-17 Thread Andre Rombauts
Title: HTMLtext property When setting the HTMLtext property a field is blocked: Im not able to move scrollbars or to type text even if thoses properties are set. Why? Is there a way to avoid this? Andr

Re: HTMLtext property

2002-11-17 Thread Jan Schenkel
--- Andre Rombauts [EMAIL PROTECTED] wrote: When setting the HTMLtext property a field is Œblocked¹: I¹m not able to move scrollbars or to type text even if thoses properties are set. Why? Is there a way to avoid this? André Hi Andre, The problem is in the redraw ; but you can solve

Re: HTMLtext property

2002-11-17 Thread yves COPPE
Title: Re: HTMLtext property When setting the HTMLtext property a field is 'blocked': I'm not able to move scrollbars or to type text even if thoses properties are set. Why? Is there a way to avoid this? André Try Lock the screen and then unlock simply add at the end of your script : lock