09-14-2016, 10:49 AM
In your value-changing/ed callback, call the lastCharTyped() method on the field and check the return value for "\n" or "\r". This will allow you to detect the enter/return key being pressed.
When you want a widget to lose focus, call the blur() method on the widget.
When you want a widget to lose focus, call the blur() method on the widget.