When is a color not a color

BNig niggemann at uni-wh.de
Tue Jun 11 16:40:29 EDT 2013


Hi Pete,

Just for fun:
1 Button 1 field 
------------------------
on mouseUp
   put 256 into tSoMany
   repeat with i = 1 to tSoMany
      put i & tab & tab & "Just Some Colorized Text" & return after tData
   end repeat
   delete last char of tData
   lock screen
   put tData into field 1
   repeat with i = 1 to tSoMany
      set the textColor of line i of field 1 to i
   end repeat
   repeat with i = 1 to tSoMany
      put tab & (the textColor of line i of field 1) after line i of field 1
   end repeat
   
   unlock screen
end mouseUp
----------------------------

Kind regards
Bernd



--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/When-is-a-color-not-a-color-tp4666124p4666334.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list