TheStorm
01-26-2004, 07:53 AM
I've tried but no luck!
I'm using a richtextbox to be able to have different colors for different lines. When I add a new line to the text box then I want it to be in the end! like this (not using the exact code...just to make you understand) Richboxtext = Richboxtext & vbcrlf & mynewline
If I do it like this then it will give the whole text the same formating as the format I use for the "mynewline". If I set it to red color everything becomes red. This would not be a problem if I wanted every new line to be first in the text box (then I could just add a line with the format I want, but I want every new line to be last.
Any Idea on how I can keep the format of the old text and add a new line in the end.
Hope you understand what I mean....and hopefully I have missed some easy solotion for this ;)
I'm using a richtextbox to be able to have different colors for different lines. When I add a new line to the text box then I want it to be in the end! like this (not using the exact code...just to make you understand) Richboxtext = Richboxtext & vbcrlf & mynewline
If I do it like this then it will give the whole text the same formating as the format I use for the "mynewline". If I set it to red color everything becomes red. This would not be a problem if I wanted every new line to be first in the text box (then I could just add a line with the format I want, but I want every new line to be last.
Any Idea on how I can keep the format of the old text and add a new line in the end.
Hope you understand what I mean....and hopefully I have missed some easy solotion for this ;)