Hi! Yes, there is a way. Uses wxTextCtrl to enter the RGB values, create a wxColour object with these values and then use wxWindow::SetForegroundColour() on the text. If the text you mean is itself inside a wxTextCtrl, use wxTextAttr.
upCASE ----------------------------------- If it was hard to write, it should be hard to read!- Do. Or do not. There is no try! |