Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a class from a form
Message
 
À
05/06/2001 14:39:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00515316
Message ID:
00515322
Vues:
17
>Hi. This is basic, but it still baffles me.
>How do you call a class from a form? I have a form and I want to pop up a class that I have written to accept data entry.
>
Randy,

Create the object with CREATEOBJECT() or NEWOBJECT(). Call the object's Show method (using Obj.Show(1) so that the form's modal). Then check to make sure it's not null and retrieve the value. Optionally, you could create a form from the class and return the variable via DO FORM...TO...
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform