I try to change the text color from a say object with :
oSay:Setcolor(CLR_HRED) ; oSay:refresh()
But , it doesn't work.
I Tryed it also in testsay2.prg , no succes
Code: Select all
// A sample showing to to let a SAY accept Clicks events
#include "FiveWin.ch"
function Main()
local oDlg, oSay, oCursor
DEFINE CURSOR oCursor HAND
DEFINE DIALOG oDlg
@ 2, 2 SAY oSay PROMPT "Test"
oSay:lWantClick = .t.
oSay:bLClicked = { || oSay:SetColor(CLR_HRED) , oSay:refresh() }
//oSay:bLClicked = { || MsgInfo( "Hello" ) }
oSay:oCursor = oCursor
ACTIVATE DIALOG oDlg CENTERED
return nil