Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Behavior of enter key over a button  (Read 8274 times)
Alessandro (Efisio) R.
Posts: 42


« 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.
Reuben B.
Four Js
Posts: 1049


« Reply #1 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

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines