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
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
Hi,
thanks for the reply.
currently i use this code on the keydownevent and its working.
if (e.KeyCode == Keys.Enter) { SendKeys.Send("{TAB}"); }
i just want to know how to achieve this behaviour with the keyactionmapping. Any idea? thanks again.