Child menus of disabled parents still fire click events in response to mnemonics

Summary

Id:7.13
Type:Bug Bug
Current Status:Open

Detail

19 Nov 2003OpenSteve McMahon

The control was originally written to behave like the Office ones, and you’ll notice that the Office applications disable the submenu items rather than the parent (in general this it is better UI practice to do this).

However, this should be fixed. A workaround is to check whether the item is Enabled when the click event fires.

19 Nov 2003OpenJuan Marugán

If you mark as disabled an option of a menu that has submenus, the submenus still work with the associated hotkeys. This happens at least when you have a main menu in an application built with the menu tool of VB and disabled one of these main menu options (File, Edit, View, etc). The rest of options hanging from the disabled one are not accessible with the mouse, but still working with the associated hotkey (Fx, Ctrl-Fx, etc).