Le 4 oct. 2016 à 19:15, Klaus major-k <[email protected]> a écrit :
> 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 > ... Better ! Thanks ! _______________________________________________ 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
