Print Page | Close Window

Shortcut Key Issue

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=23262
Printed Date: 26 April 2024 at 2:08am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Shortcut Key Issue
Posted By: ScottW
Subject: Shortcut Key Issue
Date 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?





Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net