This is a migrated thread and some comments may be shown as answers.

Keyboard esc (escape) key not working

5 Answers 340 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jean-Marc Windholz
Top achievements
Rank 1
Jean-Marc Windholz asked on 12 May 2011, 05:12 PM
Hi
I have a problem with my application (a 3D editor) : my application uses a graphic engine and so in the interface I have to include some libraries; the graphic engine intercepts every event when the event happens over the window that contains the 3D model (i.e. mouseOver, MouseClick, KeyPress, .....) .
My engine gives me every indication of events happening over it: I can intercept every key press event, except for esc key; every other key event is managed by my engine and I can do whatever I want.
I am sure this problem is not due to the engine, so probably so there is probably some keyboard hook in the Telerik  framework that filter out the Esc key events.
Can you please help me with this problem ?

Thank in advance

5 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 17 May 2011, 03:29 PM
Hello Jean-Marc Windholz,

Thank you for contacting us again. This issue is addressed in our latest internal build and will be available in our next major release - Q2 2011.

Best wishes,
Peter
the Telerik team
Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
0
Bob
Top achievements
Rank 2
answered on 23 Apr 2012, 09:15 PM
Not sure why this is happening, but I have a winForm that exposes a dialog box which is actually a radForm.  I have a Cancel button that closes the form, however when I set the forms CancelButton property to the Close button, the even is never being fired.
Is there another setting or something I am missing to execute the 'Cancel' option?

Thanks
Bob
0
Peter
Telerik team
answered on 24 Apr 2012, 02:40 PM
Hi Bob,

Thank you for writing.

We are aware of this issue and it is already addressed in Q1 2012 SP1. Please refer to your account and download our latest official build. 

I hope this helps. Should you have any other questions, do not hesitate to contact us.

Regards,
Peter
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
0
Jennifer
Top achievements
Rank 1
answered on 24 Apr 2012, 09:01 PM
Hi there -

I downloaded the current version as you suggested.
I discovered an anomaly that causes the 'CancelButton' event not to fire.

Simply naming your button 'CancelButton' will keep the event from firing.  Apparently this is a common issue because it happens on stock Windows controls as well.

Rename the button to something else, and then bind the CancelButton to the new name of the button.

Just found it interesting you can't have a button called 'CancelButton'.

We chanced our naming conventions from 'btnCancel' to 'CancelButton'.  May have to make a note on this one.

Regards,
Bob


0
Stefan
Telerik team
answered on 27 Apr 2012, 12:41 PM
Hello Jennifer,

Thank you for sharing this information with us. Indeed, this is an interesting case which appears in both the standard Form and in RadForm. I will log this case in PITS and we will see if there is something that we can do in order to cover this case in RadForm. Here is a link to the items, where you can track its status: http://www.telerik.com/support/pits.aspx#/public/winforms/10899.

Let us know if you have any questions or suggestions.

Greetings,
Stefan
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
General Discussions
Asked by
Jean-Marc Windholz
Top achievements
Rank 1
Answers by
Peter
Telerik team
Bob
Top achievements
Rank 2
Jennifer
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or