Hiliting Words in a Field

John Dixon dixonja at hotmail.co.uk
Mon Jun 7 17:14:49 EDT 2010


Gregory...

Continuing with Michael's 'Scotland' theme :-

on mouseUp
   repeat with count = 1 to the number of words of fld 1
      if word count of fld 1 = "Scotland" then set the foregroundcolor of
word count of fld 1 to "yellow"
   end repeat
end mouseUp 
-- 
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Hiliting-Words-in-a-Field-tp2246485p2246586.html
Sent from the Revolution - User mailing list archive at Nabble.com.



More information about the Use-livecode mailing list