New App Developed in LiveCode

Pete pete at mollysrevenge.com
Fri Aug 19 14:10:29 EDT 2011


Nice, thanks Trevor.  I think there is one other boundary condition that
would occur if there is only one field control on the card and the other
controls are buttons of one sort or another, and that is if the user presses
the tab key in the field.  Even with traversalOn set to true for buttons,
they don't seem to be selected in those circumstances (this is on a Mac).  I
guess that could be handled by the tabKey message.
Pete
Molly's Revenge <http://www.mollysrevenge.com>




On Fri, Aug 19, 2011 at 10:00 AM, Trevor DeVore
<lists at mangomultimedia.com>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