move to next control

4 posts, 1 answers
  1. wael
    wael avatar
    2 posts
    Member since:
    Sep 2010

    Posted 06 Nov Link to this post

    how can move between controls by using enter

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

    is not working

  2. Dess
    Admin
    Dess avatar
    1601 posts

    Posted 07 Nov Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. wael
    wael avatar
    2 posts
    Member since:
    Sep 2010

    Posted 08 Nov Link to this post

    thank you for answering

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

  5. Answer
    Dess
    Admin
    Dess avatar
    1601 posts

    Posted 10 Nov Link to this post

    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.
Back to Top