Print Page | Close Window

CommandBarsFrame "eats" key down events

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=10292
Printed Date: 08 October 2024 at 12:35am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CommandBarsFrame "eats" key down events
Posted By: slvrbllt
Subject: CommandBarsFrame "eats" key down events
Date Posted: 18 April 2008 at 4:59am
Hi,
 
I have a form with the KeyPreview property set to TRUE.
Since when a CommandBarsFrame has been added to the form, the Form_KeyDown event is not invoked anymore whenever any of the arrow keys (up, down, left, right) is pressed.
 
Everything works fine, instead, if the arrow key is pressed together with any combination of Shift, Alt and Control.
 
Also removing the CommandBarsFrame from the form resolves the issue.
 
Is there any way to prevent your control from "eating" those events ?
 
Thanks!
S.



Replies:
Posted By: slvrbllt
Date Posted: 22 April 2008 at 9:38am
Hi Oleg,
 
I've sent you a sample project for reproducing this bug.
I hope it will help you.
 
Thanks/



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