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
70
UltraTextEditor remembers last Cursor-Position?!
posted

Infragistics-Version: 10.1

Simply put three UltraTextEditors on a Form, give all of the three TextEditors a Default-Text (i.e. "TEXT 1", "TEXT 2" and "TEXT 3") manually set Focus on the first UltraTextEditor.

Now the Problem:

If you TAB through the 3 Fields, all of the Texts are automatically selected.

But if you change one the Fields, this Field is no longer automatically selected, it remembers the last Cursor Position.

How can I prevent this behavior??

Thx in advance.

Parents
No Data
Reply
  • 17259
    Suggested Answer
    Offline posted

    Handle the Enter event and call the SelectAll method. In order to do it for all text editors in your project, create a custom control that inherits UltraTextEditor, override the OnEnter method and add this call there. Drag your control instead of the original text editor.

Children