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

move to next control

3 Answers 256 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
wael
Top achievements
Rank 1
wael asked on 07 Nov 2016, 05:06 AM

how can move between controls by using enter

if ((e.KeyCode == Keys.Enter) )
            {
                this.SelectNextControl((Control)sender, true, true, true, true);
            }

is not working

3 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 07 Nov 2016, 09:44 AM
Hello Wael,

Thank you for writing.  

This question is not related to the Telerik UI for WinForms suite. That is why I would recommend you to refer to general programming forums like MSDN and StackOverflow. The following links are quite useful: 
http://stackoverflow.com/questions/1087786/press-enter-to-move-to-next-control
https://social.msdn.microsoft.com/Forums/windows/en-US/ef82d715-e879-4f67-9d48-4314584489fd/when-i-press-enter-next-control-should-be-focus-like-tab-how-can-i-do-this-?forum=winformsdesigner

I hope this information helps. Should you have further questions I would be glad to help.

Regards,
Dess
Telerik by Progress
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
0
wael
Top achievements
Rank 1
answered on 09 Nov 2016, 04:30 AM

thank you for answering

this code is not working with controls Telerik UI for WinForms
its work well with general controls

0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 10 Nov 2016, 08:51 AM
Hello Wael,

Thank you for writing.  

I have attached a sample project for your reference which result is illustrated in the attached gif file.

I hope this information helps. Should you have further questions I would be glad to help.

Regards,
Dess
Telerik by Progress
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
Tags
General Discussions
Asked by
wael
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
wael
Top achievements
Rank 1
Share this question
or