Bonsoir Ludovic, > Am 04.10.2016 um 19:06 schrieb Ludovic THEBAULT > <[email protected]>: > > Hello, > > I've a field where i change color of some chars by script. > If i want to "reset" the color of all my text this code doesn't work : > set the foregroundcolor of fld "myText" to black > I really need to do a repeat on all chars ???
yep, but this will do the trick: ... set the foregroundcolor of char 1 to -1 of fld "myText" to black ... > Thanks Best Klaus -- Klaus Major http://www.major-k.de [email protected] _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
