New App Developed in LiveCode

Bob Sneidar bobs at twft.com
Fri Aug 19 13:54:24 EDT 2011


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 <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
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the Use-livecode mailing list