Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is VFP's Report Writer OOP?
Message
De
08/06/2004 14:06:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
08/06/2004 12:56:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
00911113
Message ID:
00911285
Vues:
25
Thanks for the information.

>Hilmar,
>
>>I am not sure I understood well. Those "hooks", do they allow me to add controls, and change options, at run-time? If they do, that would be flexible enough IMO, even if it didn't use OOP syntax.
>
>In your ReportListener subclass, you have access to several "things" while the report engine processes a REPORT FORM command. These include several Before and After hook methods, methods like Render and OutputPage, and access to a copy of the FRX that is being "walked" by the engine.
>
>You can change some options at runtime -- check out the sample code in EvaluateContents.htm and Rotate.htm in the Reporting section of the Beta release notes download. There are BeforeReport and LoadReport methods where you might be able to make changes to the FRX, but there is not very much written about them yet. Most of the clues you can search out are contained in either OA.htm or OAX.htm.
>
>You can study the properties and methods of the ReportListener base class and also the code in the various subclasses contained in FFC\_reportlistener.vcx to see examples of how to "talk to" both the engine and the FRX copy.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform