-
Rich Text Box: Just Text
Okay, here's the thing. I'm using a Rich Text Box Control to wuss out on the heavy coding Undo, Find and Replace require. But I want it to appear to be a normal texbox. Problem is, if they past anything that's not text in there (a picture for example) a little icon-deal shows up.
My question is, how can I check to make sure it's text? Also, I've noticed that on text boxes, if you paste a file into it, it displays the name.
Anyone have any ideas how I can deal with this?
-
This sounds to me like it could be a big thing.. but if anyone just has some helpful links or something, I'd be very appreciative. Hell, it might just be a property and I'm too blind to notice.
-
I been having the same problems, only thing i think you can do is eithe make your own Textbox control, or in some way dive into subclassing it:(
-
If it is only copy paste you are concerned about...check what is in the clipboard and don' allow copying of anything else then text...