Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2306
KeyActionMapping on UltraCombo
posted

Hello,

i need to change the behaviour of  the ultracombo when a user press the enter key. The result should bethe same action as the tabkey. There is 2 cases though

1)

2)

 

 

on both cases pressing the enter key the combo must select the next control.

How can i do that?

thank you

 

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    This seems to work for me:


            private void ultraCombo1_KeyDown(object sender, KeyEventArgs e)
            {
                if (e.KeyCode == Keys.Enter)
                {
                    e.Handled = true;
                    SendKeys.Send("{TAB}");               
                }
            }

Children
No Data