Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class Method in Report
Message
De
10/04/2008 08:42:22
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
10/04/2008 07:51:47
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:
01309642
Vues:
18
>Hi,
>
>Is it possible to use a class method as the expression for a report field?
>I guess I'm really just asking how/whether one can instantiate a class object in the report?
>TIA,
>Viv

Viv,

no, you can not use a method of a class.
You might use the method of an object instead.

the object must be accessible via
-public var (a public var must hold a reference to your object)
-something else the rport will see must hold an reference.

I use something like
_screen.addproperty('goMyHandler',GetInstanzeMyHandler)
*the report will work with 
_screen.goMyHandler.SomeMethod()
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