Test For Field Being Edited?

Jim Bufalini jim at visitrieve.com
Wed May 12 21:48:38 EDT 2010

Scott Rossi wrote:

> I can't remember...  Is there a way to determine if any field on a card
> is
> open for editing, other than storing a variable?
> I want to disable actions in a card script if a field is actively being
> edited.  I was hoping there was some keyword to determine what field is
> active (the activeField, the busyField, etc).  Or must I set a variable
> value each time a field is opened for editing?
> Thanks & Regards,

You can use the openField, exitField and closeField messages. exitField and
closeField trigger when the text of the field has either not changed or has
changed but in either case, the focus is lost. openField triggers when a
user has clicked in the field.

Aloha from Hawaii,

Jim Bufalini

More information about the Use-livecode mailing list