Thanks guys for the help!!
i got another problem..im hoping to color the text in richtextbox so if it is alpha it will color blue and if it is number it will color black..can this be done in 1 richtextbox??
Sure. Just properties like
SelStart and
SelLength to select the text, then set properties such as
SelColor. Note this is just off the top of my head - I may have the names wrong. Do some browsing through the properties, and/or the doco.
There are other ways to select text in a RTB, such as selecting by words, or to the next occurrence of a specified character. Look through the doco, it's a pretty powerful control.