That is what I do whenever I need a closeField or exitField to trigger on a 
currently entered field before running off and doing things. focus on nothing 
is what you want. 

Bob S


> On May 9, 2018, at 14:28 , J. Landman Gay via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> On 5/9/18 2:21 PM, Sannyasin Brahmanathaswami via use-livecode wrote:
>> Putting this in the field does not help.
>> on returnKey
>>    closeField
>>    exitField
>> end returnKey
>> # does nothing: one would expect the field to lose focus/keyboard goes away.
> 
> These are just messages that the engine sends when the focus changes, they 
> don't control the field themselves. As mentioned, "focus on nothing" is the 
> command that does the actual work.
> 
> -- 
> Jacqueline Landman Gay         |     jac...@hyperactivesw.com


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to