Key listeners for buttons - Mendix Forum

Key listeners for buttons

3

Add a listener for key presses which triggers the button action. So if I add a listener on a button for the 'N' key, whenever it is pressed by the user in my Mendix application it will trigger whatever action is linked to that button. I believe this will add a huge improvement to the user experience of any Mendix application.

Possible use cases:

- Add a listener for esc key on close button

- Add a listener for 'N' key on 'new' button

- Use ctrl + S to save input

- Better support for expert users, allowing them to exclusively use the keyboard throughout your application

asked
1 answers

Hey Marius,

there's a widget in the appstore which does exactly that. https://appstore.home.mendix.com/link/app/1835/

But it would be nice to have this incorporated in the Mendix platform as native functionality, as this widget has Community level support.

Created