Visual C# OnPaste Event for RichTextBox?
-
I'm making an application where a user might copy and past information from the web. The problem is that since it is a RichTextBox it also copies the style of said copied text. How do I make it to where the font size and color remain the same. My first thought would be to find a OnPaste event and then set the font and color there but I can't find said event. Any help would be appreciated.
-
Answer:
If you want to ignore the color and font size from the website and use a user defined size, color, and font then change your rich text box to a plain textbox control.
Samuel at Yahoo! Answers Visit the source
Related Q & A:
- How to Convert a C++ Structure into C# Structure?Best solution by Stack Overflow
- What is the difference between C# and C#.NET?Best solution by Stack Overflow
- How to learn C# (moving from C++ to C#?Best solution by stackoverflow.com
- How to call button click event in another page's load event?Best solution by codeproject.com
- How many rounds are there in a regular PGA Event? And How many rounds are there in a major PGA Event?Best solution by answers.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.