Is it possible to close a ToolWindow with the Escape Key?
I have been able to achieve this if another control has focus inside the ToolWindow, but if no control is in focus then the KeyDown event is never fired.
Help appreciated,
Regards
James.
3 Answers, 1 is accepted
0
George
Telerik team
answered on 10 Aug 2010, 04:05 PM
Hello James,
KeyDown event fires when the sender has the focus. If it is not selected, it won't fire.
Please do not hesitate to contact us if you require any further information.
Regards,
George
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
You could handle KeyDown eventfor the MainPage - just make sure the focus in on the MainPage UserControl.
I hope this helps!
Best wishes,
George
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items