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

Shortcuts Issue

5 Answers 63 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 08 Jun 2008, 07:13 PM
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.

5 Answers, 1 is accepted

Sort by
0
Dimitar Kapitanov
Telerik team
answered on 09 Jun 2008, 01:56 PM
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
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 

this

.ActiveControl = btn_launchGraph;

but it didn't work.  Is there another way?


Thanks in advance.

0
Accepted
Dimitar Kapitanov
Telerik team
answered on 10 Jun 2008, 07:25 AM
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
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.
0
Eric
Top achievements
Rank 1
answered on 12 Jun 2008, 08:21 PM
This bug has been confirmed, thank you.
Tags
General Discussions
Asked by
Eric
Top achievements
Rank 1
Answers by
Dimitar Kapitanov
Telerik team
Eric
Top achievements
Rank 1
Share this question
or