htmlText question

Doug Lerner doug at webcrossing.com
Sun Jan 4 09:27:55 EST 2004


On 1/4/04 10:47 PM, "Klaus Major" <klaus at major-k.de> wrote:

> Hi Doug,
> 
>> On 1/4/04 9:49 PM, "Klaus Major" <klaus at major-k.de> wrote:
>> 
>>> 
>>> 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...
>> 
>> Wouldn't that then replace the formatting completely?
> 
> put fld "chatField" into fld "chatField"
> 
> will do this, yes.
> 
> That's what i meant by "will reset the field to unformatted text..." ;-)
> 
> I thought that you wanted to remove the formatting completely.
> Obviously i was wrong :-)
> 
> But the first example will do what you want, i think...

Actually, all I'm trying to do is occasionally put a styled line into the
field. :)

doug



More information about the use-livecode mailing list