Four Js Development Tools Forum

Discussions by product => Genero BDL => Topic started by: Alessandro (Efisio) R. on March 08, 2016, 12:59:45 pm



Title: Behavior of enter key over a button
Post by: Alessandro (Efisio) R. on March 08, 2016, 12:59:45 pm
Hi to everyone,

I'm having a problem with the standard gui behavior of the enter key (numeric keypad).
I have a form in which I define some text boxes and some buttons.
From 4gl code I'm using the syntax COMMAND "action_name" to get the focus on the buttons.
The configuration file of action defaults map the action accept to enter and return keys.
The action accept is always called while the focus is on any field, but when you are on a button, the return key "press" the button and the enter button invokes the action accept.
How do I get the same behavior (ie over a button to simulate the pressure of the button, otherwise call the action accept) for both confirm keys?

Thanks a lot.


Title: Re: Behavior of enter key over a button
Post by: Reuben B. on March 10, 2016, 09:34:41 pm
Hi,

A quick test suggests you have a valid point.  Are you able to put together a small example that reproduces your issue and submit that to your support contact along with details on versions and products used. 

Reuben