
November 20th, 2012, 07:00 AM
|
|
Contributing User
|
|
Join Date: Aug 2004
Posts: 66
Time spent in forums: 9 h 45 m 2 sec
Reputation Power: 9
|
|
|
VB.Net rich text box font colors
Hey people,
I have a program receiving strings of data through the serial port.
I am needing to display these on a screen (within a text box) but some of the strings need to be different colours.
Is there an easy way to do this?
The trouble I am having is that each time I make the new string a different colour everything changes.... so... I have written a function to store the strings and then read through each and determine the colours, but.... this can be very slow, as each time a new string is received the program needs to re-do all the colours of the old ones (otherwise their colour would be incorrect).
Can anyone help?
|