> Unfortunately you cannot change the colour of part of the text in a
> textbox: this type
> of control, like text messages and string controls, accepts only a single
> colour for the
> whole text and cannot handle escape codes, which on the other hand is well
> managed by listboxes:
Thanks for the answer. Yeah, I remember using that. Very unwieldy when all
you want to do is dump a long message. I wish there was a way to do this in
some simple text control:
SetCtrlVal(Panel, Control, "This is the first line\n"
"\033fgff0000This text starts red \033fg00ff00and continues green\n"
"And this concludes.");
The way I see it, there's no way to do the above. In a listbox, everything
ends up on the same line. In a string/text box, colors are ignored.
I remember discussions long ago about how to display rtf code... Did
anything ever came out of it ?
--
Guillaume Dargaud
http://www.gdargaud.net/