Now I see.
put this into the field script: on mouseLeave focus on nothing end mouseLeave When the field loses focus, it will trigger the "closeField" message. Craig Newman -----Original Message----- From: Dr. Hawkins <doch...@gmail.com> To: How to use LiveCode <use-livecode@lists.runrev.com> Sent: Wed, Sep 26, 2012 12:39 am Subject: Re: artificially causing a field to be left in a script On Tue, Sep 25, 2012 at 8:43 PM, <dunb...@aol.com> wrote: > Sorry, still not getting it. If I change the contents of a field, it matters not what I do next: >click a button or the card, navigate to another card via any means open to me, focus on >another field, whatever, the "closeField" message is sent. That had been my understanding, but . . . > What are you doing, exactly, after the text of the field is changed? I change the text of the field, and then click on a button, which runs a script, saves data if changed, and loads the next data. I just put the script on closefield beep breakpoint pass closefield end closefield to a field, changed contents, and pushed my button. No beep, and no closefield. Then go to it, change something, and tab, and beep & breakpoint. into a field, changed it, and clicked the button, and -- Richard E. Hawkins, Esq. (702) 508-8462 _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode