Shortcut Key Issue |
Post Reply |
Author | |
ScottW
Groupie Joined: 02 August 2005 Status: Offline Points: 82 |
Post Options
Thanks(0)
Posted: 07 February 2017 at 12:09pm |
I have an MDI app with docking panes, some of which contain forms where the user can interact. I also have a menu bar with a few shortcut keys, one of which is Ctrl-C for Edit, Copy. When the command bars execute event fires for this action, I can see if there is an ActiveForm and send the command there. However, if the focus is on a docking panel form, the key is captured by the toolbar and the control on the docking panel form never sees it. I can't tell in the execute event where to send the command in this case. I thought that setting the KeyBindings DisableOnCapture property to True would fix this, but that doesn't seem to change anything at all. There may or may not actually be an active child window open, but if the focus is in the docking panel form, I need this command to only go there.
Any suggestions? |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |