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
460
Upgrade from 8.1 to 9.2 - possible breaking change in UltraTextEditor?
posted

Hi,

I have recently upgraded my project to version 9.2 and our customers noticed different behavior of UltraTextEditor. When the user hits TAB to get to the next UltraTextEditor control, the text in the control is not selected anymore. Can you tell me how I can revert to the original behavior?

Thank you,

Daniel

Parents
  • 69832
    Suggested Answer
    Offline posted

    I think you are mistaken about the default behavior; when the control's text selection has not yet been modified, it does default to selecting all the text, but once the user changes the text selection (for example, clicks between two letters or navigates with the arrow keys), that selection is maintained. If you want all the text to be selected every time the user enters the control, you have to handle the control's Enter event and call its SelectAll method.

     

    EDIT: Actually, I see now that this behavior has in fact changed, although the reason is that to not preserve the selection is incorrect. The solution I recommended still applies.

Reply Children
No Data