Tim,
SP2 has new Dynamics tab on the properties dialog that allows to control colors, fonts, etc. w/o any programming
>I had the original VFP 9 on a machine. I never installed SP1. I installed SP2 and tried to use Run-time Extensions on a report that was created in VFP8. The notebook is running XP SP2.
>
>I followed Bo Durban's example in the paper from SW Fox 2008.
>
>
>LPARAMETERS toFX, toListener, tcMethodToken,;
> tP1, tP2, tP3, tP4, tP5, tP6,;
> tP7, tP8, tP9, tP10, tP11, tP12
>LOCAL lnRed, lnGreen
>DO CASE
>CASE tcMethodToken = "EVALUATECONTENTS"
>
> lnRed = 43
> lnGreen = 100
> tp2.penred = lnred
> tp2.pengreen = lnGreen
> tp2.reload = .T.
>ENDCASE
>
>
>I set REPORTBEHAVIOR 90 and Execute When to "Render" (I am trying to change the colors of a rectangle). I have dropped WAIT WINDOWs, MESSAGEBOXs and STRTOFILEs () in the code to see what is happening. Sometimes they fire and some times they don't. I have never succeeded in getting the rectangle to change color.
>
>Any thoughts?
>
>Tim
--sb--