Where is the property for setting the AdvPreviewMenu SubItem short cut? I see the SubMenuItems ShortCutHint but I don't see the actual short cut entry.
It is set via ShortCutHint. Shortcuts on a ribbon menu are incremental. Press Alt to open the menu, you should see then the short cut hints for the items and when pressing this shortcut, you should see the shortcut hints for the subitems.
I see the ShortCutHint entry for the SubMenuItems but this does not seem to have any effect. When I enter "F1" in the ShortCutHint for a SubMenuItem, pressing F1 when the program is run has no effect. I am miss understanding something about how the text for the ShortCutHint should be entered. I want to press a short cut button such as F1 and activate a SubMenuItem event. What is the correct text to enter into the SubMenuItem ShortCutHint?
Please have a good look at Office 2007, 2010 or 2013 (press Alt key) and see the hints that appear on buttons, menu items. These hints indicate the shortcut and that is exactly what can be set by ShortCutHint.
Values for shortcut keys and modifiers in Office 2013
Key or modifier | Value (decimal) |
---|---|
ALT |
16 |
CONTROL |
8 |
SHIFT |
4 |
A |
65 |
B |
66 |
C |
67 |
D |
68 |
E |
69 |
F |
70 |
G |
71 |
H |
72 |
I |
73 |
J |
74 |
K |
75 |
L |
76 |
M |
77 |
N |
78 |
O |
79 |
P |
80 |
Q |
81 |
R |
82 |
S |
83 |
T |
84 |
U |
85 |
V |
86 |
W |
87 |
X |
88 |
Y |
89 |
Z |
90 |
The following table lists the values for the function keys used by the system.
I cannot see a problem here.
See our demos and see test project: http://www.tmssoftware.net/public/ShortCutHints.zip
AdvPreviewMenu1MenuItemClick
AdvPreviewMenu1SubMenuItemClick