[Lazarus] Cool IDE add-on idea

Ondrej Pokorny lazarus at kluug.net
Wed Apr 25 06:14:47 CEST 2018


On 25.04.2018 0:03, Graeme Geldenhuys via Lazarus wrote:
> My other suggestion was to simply place a TActionList on each Package
> windows. Then define all the actions with associated shortcuts. The
> Captions of each TAction doesn't need to contain the & symbol for a
> hotkey (though highly recommended). The defined TAction.Shortcut
> property works just fine without the & in the TAction.Caption. The for
> should then process those shortcuts as part of any keyboard event in the
> form. That's all part of the benefits in using actions.

Don't forget that every shortcut needs to be editable in Key Mappings in 
IDE options. The &-hotkeys don't.

Ondrej


More information about the Lazarus mailing list