by roddy » Mon Sep 27, 2021 12:48 am
Ideally, we want keyboard shortcuts for the app. I am trying to add the key listener to the onShow() of a form (with the keylistener attribute on the form).
This is not necessarily about focus; for example, we are using the svy Navigation side bars and nav bar, the up and down arrows work on a list form but only when it is clicked on to set the focus. I couldn't find any way of setting (or requesting) the focus to anything except a field, so there was no way I could find to set the focus to the form. We would also like the Enter key to select a record on a list; pressing Enter does not currently do anything.
So, the upshot is being able to get the key listener to work on a form component, so we can implement the keyboard shortcuts requested for the Servoy app.