The PushButton will work as you've written it. The Field does not expose any of the underlying widget events, so if the text in the field doesn't change, you won't be able to get an indication that enter was pressed. You will need to create your own widget for that behavior.
On Sunday, September 14, 2014 11:13:57 PM UTC-4, Jack Minardi wrote:
I would like to allow the user to trigger an action when they press enter while editing a field. This action should trigger whether or not they edit the text in the field. I also want the user to be able to use a PushButton to trigger the action: