As I recall, once I used a color scheme for blinking red:
Somewhere in SETUP-code (R for red):
set color of scheme 22 to R/W,R/W,R/W,R/W,R/W,R/W,R/W,R/W,R/W,R/W
Somewhere in CLEANUP-code define a function (* for blink):
procedure kolorit
parameter blinkx
if blinkx
set color of scheme 22 to
R*/W,R*/W,R*/W,R*/W,R*/W,R*/W,R*/W,R*/W,R*/W,R*/W
else
set color of scheme 22 to
N/W,N/W,N/W,N/W,N/W,N/W,N/W,N/W,N/W,N/W
endif
return 22
And I used it conditionaly when defining a field:
@ 19,1 GET m.totrazx ;
SIZE 1,11 ;
DEFAULT 0 ;
PICTURE "99999999.99" ;
WHEN .f. ;
COLOR scheme iif(totrazx=0.00,kolorit(.f.),kolorit(.t.)) ;
DISABLE
P.S.
I used modified GENSCRNX to be able to have COLOR SCHEME clause when defining field on screen. Maybe it is not your case, but this hint can show you the direction.
Kruno Malovic