Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 9 SP2 flaky behavior in Run-time extensions
Message
 
 
À
23/02/2009 11:41:23
Tim Muller
Innovative Solutions, Inc.
West New York, New Jersey, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01383494
Message ID:
01383506
Vues:
105
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform