closeField - Curious

DunbarX at aol.com DunbarX at aol.com
Sat Dec 18 18:02:45 EST 2010


CloseField is sent only when something in the field has changed. If you 
only have focus in a field, and click on a button that sends you to another 
card, trap exitfield instead. it is sent when focus is lost, and nothing has 
changed.

But in either case, the appropriate message is sent. If you have focus in a 
field, and click on a button that sends you somewhere else, trap both 
messages with something that tells you which one was caught. You will find that 
the messages are sent. When the field loses focus, it tells you.

Craig Newman



More information about the Use-livecode mailing list