Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot return value from custom class
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Cannot return value from custom class
Divers
Thread ID:
00587315
Message ID:
00587315
Vues:
50
I've created a custom class visually that has a method that takes 4 parameters; two are objects and two are variables.

I dropped the class on a form and invoke its method from a command button, passing the four parameters.

The objects come back properly modified by the method, but the variables come back in their initialized state. I've displayed the variables on the last line of code in the method and they do have the correct values there. I also noticed that in the form, the method code box for the object has an LPARAMETER line with my parameters. My first line of code in the object method is a PARAMETER statement. Why is that? How can I get the values of the variables back to the form?

Thanks
Jay
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform