On Wed, 01 Feb 2012 22:27:46 +0100 Massimo Soricetti <[email protected]> wrote:
> I would like to bind the escape key as a shortcut for an action in a > TActionList, but seems I can't do it. > The esc key is not on the list of the allowed shortcuts and the "grab a > key" function terminates when I press the "Esc", obviously not getting > the Esc key... :-( The grab key uses escape to cancel. I added VK_ESCAPE to the list. > Is there any way to bind "Esc" as keyboard shortcut for an action? If > there isn't, what is the keycode for escape? VK_ESCAPE? That's a bingo. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
