Trevor, that worked a peach! I owe you a lunch next conference I see you at. (I've only been to one so don't hold your breath!) ;-)
Bob On Aug 19, 2011, at 10:00 AM, Trevor DeVore wrote: > On Fri, Aug 19, 2011 at 12:27 PM, Bob Sneidar <b...@twft.com> wrote: > >> Now that you mention this, I ran into a similar *bug* or *absence of a >> feature* where if a user types text into a field, and then clicks a button >> without leaving the field, the field gets updated, but the closeField >> message NEVER GETS SENT to that field. I think this is a grievous oversight, >> as I trap closeField to do on the fly validations, and now I will have to >> tell users of my app to tab out before clicking the button! That is not >> going to work. I will probably have to send closeField explicitly to every >> editable field when I go to save my record. Very dirty. > > > Just call "focus on nothing" in the button code. On OS X buttons don't cause > fields to lose focus which is the issue you are most likely seeing. > > -- > Trevor DeVore > Blue Mango Learning Systems > > LiveCode Resources for Developers: http://livecode.bluemangolearning.com > _______________________________________________ > 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