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
  • 5520
    Suggested Answer
    posted

    you can add the following code to the event

     

     

     

    private void ultraCombo1_KeyDown(object sender, KeyEventArgs e)

    {

     

     

    if (e.KeyCode == Keys.Enter)

    ultraCombo2.Focus();

    }

    you can instead of using ultracombo2.focus() use ultracombo1.selectNextControl in a function you create and you specify the control

    Hope this helps

Children