I’ve put a push button on my form. Its label is “Make ~print version”. When in normal display (not edit) this puts a line under “p”. This sort of responds to Alt-P on my keyboard: if the cursor is not “caught” in a subform data grid it does actually put focus on the button and execute it.
I’ve just put a combo box on my form. It is configured with a label field, with the text “Search for i~nvoice no.:”. Again, I see a nice line under the “n” of “invoice”. But pressing Alt-N on my keyboard does not take focus to the combo box, regardless of where the cursor is. In fact going Alt-N causes focus to jump to a subform data grid.
I wondered whether a different key combo might be needed, so I tried Shift-Alt-N, and AltGr-N, etc.
Maybe it’s my OS? (W10).
Anyone know if this mnemonic stuff can be made to work satisfactorily in Base forms? Ideally what I want is for the button to actually execute on Alt-P, regardless of where my cursor is, and for focus to go to the combo box if I go Alt-N, regardless of where my cursor is.
Further observations re label for combo box
I put the tilde before “v” of “invoice”. Alt-V then drops down the “View” menu of the application. Maybe there’s a way to disable display of these menus. But that seems academic because I then tried with a tilde before “C” and then before “S”. These don’t have corresponding application menus. But again, for no discernible reason, pressing Alt-C or Alt-S with the focus in a control on the main form causes focus to go to the subform data grid.
… and what’s strange with both these latter experiments is that pressing other Alt-[?] combinations does nothing. In other words the framework seems to be aware that it’s being asked to change the focus to another form component… but gets it wrong.