New App Developed in LiveCode

Peter M. Brigham, MD pmbrig at gmail.com
Sat Aug 20 06:57:53 EDT 2011


On Aug 19, 2011, at 1:54 PM, Bob Sneidar wrote:

> 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.

AFAIK, "focus on nothing" is equivalent to "select empty," which is the command I always use for this purpose.

-- Peter

Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig







More information about the use-livecode mailing list