Preserving Detailed Field Content

Klaus major-k klaus at major-k.de
Fri Jan 26 10:59:06 EST 2018


Hi Roger,

> Am 26.01.2018 um 16:56 schrieb Roger Guay via use-livecode <use-livecode at lists.runrev.com>:
> 
> I have a multiple line field with some lines of different color and strikeout textStyle. If I set the custom property, the cContent, of that field to the field itself, the textColor and TextStyle of each line is lost. Is there a simple way to capture the contents of a field with varied textColor and textStyle preserved?
> 
> Sorry if this sounds confusing.

it doesn't! :-)

Just set the custom property to the HTMLTEXT of the field!
And restore THAT later.

> Thanks very much,
> 
> Roger

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list