Ask your own question, for FREE!
Computer Science 19 Online
OpenStudy (poopsiedoodle):

VB question: How do I recolor certain words in a richtextbox when they are added to it? For example, if the user types in Console> I want it to recolor Console> and make it blue instead of the default black color.

OpenStudy (anonymous):

placeholders ?

OpenStudy (poopsiedoodle):

I don't get what you're trying to say there, Sean.

OpenStudy (opcode):

I don't understand your question... So if someone types say: 'color>blue' You want the output to be blue? Wouldn't it be simpler to use a color wheel? Or do you want it when someone types: 'color>blue' in the richtextbox that the richtextbox text becomes blue?

OpenStudy (poopsiedoodle):

Opcode, it's for a programming language. I want it to parse and recolor text. If someone types in "console>" I want "console>" to be blue. Nothing else, just where it says console>

OpenStudy (anonymous):

explain your question further, poopsie. and... http://whathaveyoutried.com/

OpenStudy (opcode):

What is the point in that? Do you want it to highlight syntax in your language? So each time someone types: "console>". Would you want "console>" to be blue?

OpenStudy (poopsiedoodle):

yes. Exactly :3

OpenStudy (hba):

Oh like in C# int [] a=new int [b]; So in here int and new appear as blue.

OpenStudy (poopsiedoodle):

yes.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!