[SOLVED] Problem with TMainMenu shortcut keys lazarus / 10-Designer ---------------------------------------------------------------------- goldenfox · 2014-09-02 01:44 Hi Guys! I have created a project with a single form. I then added a menu(TMainMenu) to the form and fire up the menu editor and added menu items and sub menus with shortcut keys. But every time I disable the parent menu, the shortcut keys of the sub-menus are still in effect. I was expecting every time you disable the parent menu, all sub menus and shortcut keys will be disabled as well. I have filed a report regarding this matter. http://bugs.freepascal.org/view.php?id=21720 OS: Windows 7/8.1 32bit Laz: Trunk FPC: Trunk Please check attached example. Thanks. ---------------------------------------------------------------------- eny · 2014-09-02 15:51 Quote from: goldenfox on September 02, 2014, 03:44:28 amI was expecting every time you disable the parent menu, all sub menus and shortcut keys will be disabled as well.You only disable the path to the submenu item. There is no reason to assume the underlying items get disabled. Consider using action lists and disable the actual actions you want to prevent from happening. What is weird though is that the actions are executed twice...