Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class Method in Report
Message
De
14/04/2008 02:23:29
Lutz Scheffler (En ligne)
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
14/04/2008 02:18:07
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01309629
Message ID:
01310331
Vues:
19
>>Jim,
>>
>>PRIVATE to what?
>>To the calling code that calls the report? This will now work under all circumstances. I have a wrapper to the report call. I create all Data I need to to the report and call the wrapping code (creating listeners, chainging reports, controls page numbers etc).
>>
>>Anyway, do I missunderstand something? My idea of PRIVATE was that the private statement declares that some vars should NOT be used from the public pool.
>
>Yes, but that's not the whole story: any such variables, if assigned (and PRIVATE declaration does not create them, unlike public and local, which do) will be visible in the called code, which includes the reports. Local are absolutely local; private are shared with the code lower on the call stack.

Ah, I see.
So half of the wonders of public vars will work too? I stick with properties of _screen ...

Update:

O.K. _SCREEN is a public var, isn't it?

Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform