M
MarcG
I have an edit menu with the usual menu items (cut, copy, paste...). In the
EditMenu DropDownOpening event, I enable or disable the individual items
depending on the state of my app. The default condition is disabled.
This works fine and the user can never get to an item that the app is not in
a state to handle since the individual enable/disable state is set when the
user looks at them. However, I have menu shortcut keys (e.g., CTL-C for
copy). If the menu has not been opened, it is disabled and consequently the
shortcut key is also disabled.
This is not the standard operating procedure, as demonstrated by Word for
example.
What is the pattern for enabling menu items and shortcuts? Is there a demo
that shows the "right" way to do this?
Thx
Marc
EditMenu DropDownOpening event, I enable or disable the individual items
depending on the state of my app. The default condition is disabled.
This works fine and the user can never get to an item that the app is not in
a state to handle since the individual enable/disable state is set when the
user looks at them. However, I have menu shortcut keys (e.g., CTL-C for
copy). If the menu has not been opened, it is disabled and consequently the
shortcut key is also disabled.
This is not the standard operating procedure, as demonstrated by Word for
example.
What is the pattern for enabling menu items and shortcuts? Is there a demo
that shows the "right" way to do this?
Thx
Marc