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
1) You edit isl files using AppStylist, which installs with NetAdvantage. I'm not sure what you mean by "what should I put in the .isl file?". I explained this above. What part of my explanation is giving you trouble?
2) Set AlwaysInEditMode to true.
Hi,
I am new to Infragistics .
1) I have the same problem , Could you please let me know , how can I edit the .isl file and what should I put in the .isl file?
2)Also I have observed that, this control does not show the Scrollbar until user clicks on it, in my application I do not want user to click on the control , still user should be able to see the scrollbar as we will add moew n more text. How can I do it?
Thanks.
that worked. thanks!
So you want the TextBox to match the colors used by the isl for a label?
That's a big tricky, but it can be done. What I would do is edit the isl so that the Label appearance is using a Resource. Then you can set the TextEditor's Appearance.StyleResourceName to the name of the resource and it will pick up the same appearance - overriding the isl settings of the TextEditor.
Thanks for the response. I was not setting the Appearance.BackColor to SystemColors.Control...I was actually setting it to Color.Transparent. When I set to SystemColors.Control, it does not change color, as you said. But I don't want it to be gray, I want it to match the isl style behind it. How can I accomplish this?