App designer menu shortcuts with numpad numbers

1 view (last 30 days)
Hello,
I'd like to make shortcuts for the menus in the app designer, but if the shortcut is CTRL+1, only the numbers above the the letters work, but not the numpad numbers, how can i fix that (i just want to use the numpad numbers).
I tried the ascii code for the numpad numbers but the app designer doesn't accept it and returns an error saying only a single character can be accepted.
Thx for any input,

Answers (1)

Ayush Singh
Ayush Singh on 12 Jul 2024
Hi Adrien,
From my understanding you want to use the numpad numbers along with some keyboard keys for shortscuts for menu in app designer.
I would suggest while you are trying to add shortcut keys, do the following:
  1. Open Preferences
  2. Go to Shortcuts.
  3. While adding numbers as a part of shortcut, turn on the numpad key on keboard and then press the number.
  4. You will see something like 'NumPad1' when you press 1 from Numpad numbers.
This way you can leverage pressing NumPad numbers as a part of shortcut!

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!