Test For Field Being Edited?
jim at visitrieve.com
Wed May 12 20:48:38 CDT 2010
Scott Rossi wrote:
> I can't remember... Is there a way to determine if any field on a card
> 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,
More information about the use-livecode