Works sometimes -- but not other times

Igor de Oliveira Couto igor at superstudent.net
Fri Jun 22 05:31:58 EDT 2012


On 22/06/2012, at 3:54 PM, Ken Corey wrote:

> But again, why can't this all be done in the keyDown handler?

...or, if you are using the current version of LiveCode, you can use a 'textChanged' handler on the FIND field, which may give you even less worries! :-)

The algorithm, if I understood your description correctly, would be something like this:

on textChanged

  -- find the students that match the text in the find field
 
  -- if the number of matches is 1, then display photo

end textChanged

I hope this helps! 

--
Igor Couto
Sydney, Australia





More information about the use-livecode mailing list