"focus on nothing" not resulting in closefield
Dr. Hawkins
dochawk at gmail.com
Tue Oct 8 12:24:27 EDT 2013
On Sat, Sep 21, 2013 at 11:02 AM, Phil Davis <revdev at pdslabs.net> wrote:
>
> On 9/21/13 10:31 AM, Dr. Hawkins wrote:
>
>> When a user clicks on something to go to another record, closeField does
>> not get sent to the selectedField, and any changes are lost.
>>
>> I've tried solving this with a "focus on nothing", but that doesn't
>> provoke
>> the closeField message. Shouldn't it?
>>
>> Is there anything other than sending a tabKey to the selectedField that
>> works
>
>
> Try "select empty
That, though, physically selects and marks the field.
I'm trying to force a closefield if the field contents have changed but the
feield hasn't been left. textChanged won't work in this context, as the
usual result should only be changing when the user leaves the field
--
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
More information about the use-livecode
mailing list