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
3338
WinTextEditor: Is it possible to select/highlight text when it is not in edit mode or focused
posted

 I have an ultratree on a form with different stuff in it and when I select a node of the tree I would like to be able to highlight the respective text in the WinTextEditor that I also have on that same form.  However, I seem to be having difficulties doing so.  The way I have gotten it to work is to focus it, set it to always editable, then select the text, however, that cause other wierd selection behavior with the ultratree on that form.  So I would like to know if I could just select text in the text editor that is not in edit mode, or at least not the focused control.

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    I'm not sure exactly what you mean. If you want to select some text, then the control you are selecting text in has to have focus. That's pretty much a rule in Windows, not just the tree.

    If you just want to highlight some text, then you might be able to do it using an UltraFormattedTextEditor, but that probably wouldn't be very useful... I can't be sure, though, since I'm not really sure what you are trying to acheive. 

Children
No Data