Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting results from form created with CREATEOBJECT()
Message
De
08/08/1999 17:29:07
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00251295
Message ID:
00251298
Vues:
8
Hi Marcus,

>I've created a form class that basically asks the user to confirm an action by having them type in a given word and clicking OK or pressing enter. I know I can pass a parameter back to the calling form by using DO FORM myForm TO myVariable, but how do I accomplish this using a oMyobject=CREATEOBJECT('myForm') to instantiate? Should I just create a form and use DO FORM for this? Thanks for sharing your experience.

You could try something like this:
oForm=NEWOBJECT('myForm', 'myClass')
oReturn=oForm.SomeMethod() &&SomeMethod shoulf have This.Show() in it
I don't have any of the Docs with me, but you might also try passing a variable reference.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform