Hi Doug,

If I do something like

set the htmlText of field "chatField" to the htmlText of field "chatField" &
"<p><b>test</b></p>"


Then it adds a line of bolded text to the field.

The entire htmlText for that field then looks like

<p></p>
<p><font color="#000000">Tao: back to normal?&#13;</font></p>
<p><b>test</b></p>
<p><font color="#000000"><b>Tao: now&#13;</b></font></p>

Why, though, if I then

put "doug" after field "chatField"

does the new line *also* appear in bold, and all lines after that? How do I
"clear" things so that normal text appears again?


I can do

set the htmlText of field "chatField" to ""

and that works - but it also clears the entire field.

Maybe:


...
set the htmltext of fld "chatField" to the htmltext of fld "chatField" & "<p>doug</p>"
...


to add "plain" text?

And

put fld "chatField" into fld "chatField"

will reset the field to unformatted text...

Hope that helps...

doug

Regards


Klaus Major
[EMAIL PROTECTED]
www.major-k.de

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to