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
Make Keys.Enter work like Keys.Tab on the ultratextEditor
posted

Is that possible? maybe i'm wrong but i dont see any keyactionmapping on the ultratexteditor!

thank you

Parents
  • 37774
    Suggested Answer
    posted

    This would need be be handled by specifically coding logic in the KeyDown event of the UltraTextEditor:

    private void ultraTextEditor1_KeyDown(object sender, KeyEventArgs e)
    {
        if (e.KeyCode == Keys.Enter)
        {
            this.SelectNextControl((Control)sender, e.Shift, true, true, true);
        }
    }

    -Matt

Reply Children
No Data