Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return value from form after creating form in code
Message
De
25/08/2002 14:57:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
25/08/2002 14:50:33
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00693423
Message ID:
00693432
Vues:
37
>Are you sure you made the form-class modal?
>
>oFrmTest = CreateObject(...
>
>seems the correct approach to me.
>
>Hilmar.

Sorry, on further testing I discovered the problem.

oFrmTest = CreateObject() will, of course, assign an object variable to oFrmTest, not the return value of the form.

I think you need some workaround. For instance, if you call from another form, you can pass the calling form as a parameter, and manipulate the form properties from the called form.

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform