New App Developed in LiveCode

Trevor DeVore lists at mangomultimedia.com
Fri Aug 19 13:00:36 EDT 2011


On Fri, Aug 19, 2011 at 12:27 PM, Bob Sneidar <bobs at 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



More information about the use-livecode mailing list