Can some one show me how to make popup menus respond to hotkeys? The popup menus I create can only respond to mouse click.
Printable View
Can some one show me how to make popup menus respond to hotkeys? The popup menus I create can only respond to mouse click.
That's the behaviour of popupmenuus...
What you can do is set the keypreview property of the form to true, and use the keydown/keypress event of the form to respond to the 'hotkeys' you want.