Jeff Steinkamp 1 Posted May 21, 2023 I'm somewhat baffled with this one. New VCL application created with Delphi 11 community. Most menu items have a short cut key assigned. New (CTRL-N), Open (CTRL-O), Exit (CTRL-E), etc. the OnClick event of each menu item has an assigned handler. Clicking the menu item launches the handler. However, taping the shortcut key does not. Is there something hidden is some obscure configuration that is prevent this? Never had this problem with any of the applications I've developed using 10.4. I did open an application I recently developed in 10.4 with 11 and added some short cut keys to the menu and those are working fine. I must be missing something here. Any ideas? Share this post Link to post
Jeff Steinkamp 1 Posted May 22, 2023 I think I have this figure out. If the forms BorderStyle property is set to bdDialog, then short-cut keys do not work. I'm not sure if this is intended behavior or a bug. Share this post Link to post
Lajos Juhász 293 Posted May 22, 2023 I've never tested myself. A google search returned posts from 2001 that this is how MS Windows is designed: http://www.delphigroups.info/2/63/320384.html. Share this post Link to post