Live rich text box editing
-
Hello everyone: I have a quick question about rich text box controls in visual basic. I basically want to change the colour of the text in one of these controls, but I can't see another way to do it then use the "Select" command. This basically highlights text and then you can make whichever changes you want. The problem is of course that this has all sorts of unpredictable behaviors which can't be foreseen, and of course, its outright sloppy. The problem is I see no other way to edit the internal data easily! What's the standard correct way to do this sort of thing? Regards, James
Did I post well? Rate it! Did I post badly? Rate that too!
-
Hello everyone: I have a quick question about rich text box controls in visual basic. I basically want to change the colour of the text in one of these controls, but I can't see another way to do it then use the "Select" command. This basically highlights text and then you can make whichever changes you want. The problem is of course that this has all sorts of unpredictable behaviors which can't be foreseen, and of course, its outright sloppy. The problem is I see no other way to edit the internal data easily! What's the standard correct way to do this sort of thing? Regards, James
Did I post well? Rate it! Did I post badly? Rate that too!
You're post should be in the VB forum. And I'm no RichTextBox genius, but I seem to recall a loooot of tutorials and references that do it the way you describe, so it might just well be that bad... gluck!
Visual Studio can't evaluate this, can you?
public object moo { __get { return moo; } __set { moo = value; } }