You have several ways to operate via the keyboard instead of mouse:
1. Create a shortcat letter in the controls' labeles by addint a double underscore to the desired letter. For example: __Ok will show the "O" underlined and the control will be operated by pressing Alt+O
2. You can associate a shortcat key to the control in the UIR editor, so that a button is operated by a key in the keyboard or by a combination of keys such as Ctrl+Home and so on
3. Menu items too can be operated via a shortcut key defined in the Menu editor of the UIR editor
All of these methods need no lines of code to add to your application.
Be careful: all these methods do not operate if the panel the controls are on is not the active panel.
If you need to respond to
keyboard events not related to some control on a panel or valid for all panels in the application, you can define a main callback (InstallMainCallback) and trap the proper event in it.
Hope this helps
Roberto