What is the use ShortCutKey2 in TMenuItem? lazarus / 31-LCL ---------------------------------------------------------------------- fedkad · 2016-08-10 19:09 I have defined ShortCut and ShortCutKey2 for a TMenuItem. Both keys are displayed at run-time, just after the menu caption (separated by a comma). But, ShortCutKey2 seems to have no effect. I tried to set ShortCut to none, but still ShortCutKey2 does not work. ---------------------------------------------------------------------- howardpc · 2016-08-11 08:24 Others more familiar with the IDE workings may correct this picture, but I think ShortcutKey2 was added primarily for use in the Lazarus IDE itself. Of course you can use the second shortcut in your own apps, but as you found, the provision is a skeleton that does nothing unless you write its implementation yourself, as has been done in the IDE (search for TIDEShortcut in the sources). This enables all IDE commands to have either one or two shortcuts associated with them, allowing both for standard (mostly Delphi- compatible) shortcuts to be available out-of-the-box, and also to allow for user customization in addition. In non-Windows environments some of the Delphi shortcuts are already commonly used by the OS or window manager installed, so an alternative is required. It is one of the many features that makes the Lazarus IDE so versatile and flexible, and helps people migrating from Delphi to get used to Pascal program development on a different platform (the Delphi IDE, AFAIK, is still a Windows app). ---------------------------------------------------------------------- fedkad · 2016-08-11 10:15 Thank you for your reply. Apparently, as you said, there is no action implementation for it.