Change Color of Say
Posted: Wed Jan 13, 2010 2:45 pm
I build my Windows at runtime, i.e. I don't use resources. I have a windows with a number of SAY objects, for example:
I already usequite successfully.
But I also need to change either the Text or Background Color of the SAY. does not exist.
I have tried but that does not seem to do anything.
And gives a method not defined error.
Can somebody point me in the right direction.
Regards
Chris Millard
Code: Select all | Expand
@ nTop, nLeft SAY oSay PROMPT "Prompt" SIZE nClientWidth, nFontHeight FONT oFont BORDER PIXEL CENTER COLOR CLR_BLACK, CLR_WHITE UPDATE
I already use
Code: Select all | Expand
oSay:SetText("Something Else")
But I also need to change either the Text or Background Color of the SAY.
Code: Select all | Expand
oSay:SetColor(CLR_GREEN, CLR_BLUE)
I have tried
Code: Select all | Expand
SetTextColor(oSay:hWnd, nRGB(CLR_GREEN))
And
Code: Select all | Expand
REDEFINE SAY oSAY COLOR CLR_GREEN, CLR_BLUE
Can somebody point me in the right direction.
Regards
Chris Millard