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: Ask Reuben 41 - Return v Enter  (Read 5050 times)
Reuben B.
Four Js
Posts: 1116


« on: August 06, 2020, 05:03:01 am »

If you look at your typical PC keyboard, you may see that there are two keys with “Enter” written on them.   

If you look in FGLDIR/lib/default.4ad, (the default action defaults file if none other is specified), the entry for the “accept” action you will see two accelerators, the acceleratorName attribute with a value of “Return”, and the acceleratorName2 attribute with a value of “Enter”.  This entry is mapping the two different “Enter” keys to trigger the “accept” action.

What key is the “Return” accelerator?, what key is the "Enter accelerator?, and how can you map the “Enter" in the numeric keypad to the “nextfield" instead of the “accept” action?

Read more at https://4js.com/ask-reuben/ig-41/

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