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
245
UltraTextEditor
posted

I have a requirement to let users copy from a label.  In order to accomplish this i'm trying to make a text editor look like a label.  It's almost there, but I don't want it to turn white when it enters edit mode.  Is there a way to keep textbox transparent when it enters edit mode?  Or even another way to make a label copyable?

 

Thanks,

Amie 

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    Hi Amie,

    I'm not sure what the issue is. I assume you are setting the control's Appearance.BackColor to SystemColors.Control to give it the same background color as a label. That should do it.

    If you set the Appearance on an UltraTextEditor, then the Appearance will still be applied when the control goes into edit mode. It doesn't change color when it goes into edit mode - at least not by default. 

     

Children