When has a field changed?

Klaus on-rev klaus at major.on-rev.com
Tue Oct 25 17:50:19 EDT 2011


Hi James,

Am 25.10.2011 um 23:21 schrieb James Hurley:

> I have a text field (unlocked) that the user can edit, but  I want to know when and to deal with the changes.
> Here is what I have come up with, something of a kludge. Is there a cleaner way?
> 
> on mouseEnter --Enter the field
> ...
> end mouseLeave

Maybe catching the fields "closefield" message could do what you need?

From the docs:
"closefield"
Sent to a field when the focus is being removed from that field and the field's content has changed.

> Jim Hurley

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com





More information about the use-livecode mailing list