test color question

jbv jbv at souslelogo.com
Sat Sep 17 14:00:20 EDT 2016


Hi list

Please consider the following lines of script :

   set the forecolor of char 1 to 10 of line 1 of fld 1 to "red"
   put line 1 of fld 1 into fld 2

the text is in fld 2, but the color is gone...
Is there a way to keep the color (and other style properties) whzn
moving text between fields, or when sorting lines inside a fld ?

I know that can be done with HTMLtext (but for what I have to do
it's much too slow)...
I have also tried the styledText, but to no avail (things don't
really happen like explained in the doc)...

Thanks in advance.
jbv





More information about the use-livecode mailing list