SWilliams15
Programmer
I have a rich text control that I would like to print to using different colored fonts. I would like each line to have a different color of font (and other font characterisitics like size if that's possibel). Before the first line is printed to the control, I can use the SelColor command to set the font color. That works and text is printed in the color.
However, then before the second line is printed, i try to SelColor to print the seocnd line in a differnet color, that doesn't work and instead the the second line (and all subsequent lines no matter how many times I change SelColor) are printed with the color of the first line.
How can I get line 1 to print in say green, line 2 to say print in red, line 3 to print in black, line 4 in red again and so on?
Thanks,
Sean
However, then before the second line is printed, i try to SelColor to print the seocnd line in a differnet color, that doesn't work and instead the the second line (and all subsequent lines no matter how many times I change SelColor) are printed with the color of the first line.
How can I get line 1 to print in say green, line 2 to say print in red, line 3 to print in black, line 4 in red again and so on?
Thanks,
Sean