Hi, I assigned the shortcut of Ctrl + S to a btn_save_Click, and it works most of the time. However, when I run a child window, press Ctrl + S while the child has focus, and return to the parent form, the shortcut no longer works.
Thanks in advance.
Thanks in advance.
5 Answers, 1 is accepted
0
Hi Eric,
Can you verify that this is happening only with our controls? I believe that when you activate the first form, the button does not have the focus, so the shortcut is not activated. Try setting the ActiveControl property of the form to the button instance and tell us how it goes.
All the best,
Dimitar Kapitanov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Can you verify that this is happening only with our controls? I believe that when you activate the first form, the button does not have the focus, so the shortcut is not activated. Try setting the ActiveControl property of the form to the button instance and tell us how it goes.
All the best,
Dimitar Kapitanov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Eric
Top achievements
Rank 1
answered on 09 Jun 2008, 08:59 PM
Thanks for replying.
When I open the child form, no problems occur with shortcuts on the parent unless I press one of the set shortcuts. No matter how much I click and press keys, nothing goes wrong, until I press a shortcut chord.
I also tried setting the ActiveControl property, but was unable to do it.
I used
When I open the child form, no problems occur with shortcuts on the parent unless I press one of the set shortcuts. No matter how much I click and press keys, nothing goes wrong, until I press a shortcut chord.
I also tried setting the ActiveControl property, but was unable to do it.
I used
this
.ActiveControl = btn_launchGraph;
but it didn't work. Is there another way?
Thanks in advance.
0
Accepted
Hello Eric,
Please open a support ticket for this issue. When you do so, you can send us a simplified sample project that displays your specific issue, so that we could test it locally here at Telerik.
Greetings,
Dimitar Kapitanov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Please open a support ticket for this issue. When you do so, you can send us a simplified sample project that displays your specific issue, so that we could test it locally here at Telerik.
Greetings,
Dimitar Kapitanov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Eric
Top achievements
Rank 1
answered on 10 Jun 2008, 08:04 PM
Thank you, I have reported this bug.
My ticket ID is: 143341.
My ticket ID is: 143341.
0
Eric
Top achievements
Rank 1
answered on 12 Jun 2008, 08:21 PM
This bug has been confirmed, thank you.