Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning a value from a createobject('modalformclass')
Message
 
À
30/08/2000 11:14:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00410770
Message ID:
00410798
Vues:
14
>So...
>
>Instead of ThisForm.Release when the user oks or cancels the custom class, issue ThisForm.Hide()
>
>Then in the calling method:
>*** From a custom method in Form A
> cVar = ''
> loFrmRV=CREATEOBJECT('frmReturnVal','frmRV',cVar,'param1','param2')
> RELEASE loFrmReturnVal
>
>interesting... I'll give it a try. Thanks.


Almost,
loFrmRV=CREATEOBJECT('frmReturnVal','frmRV','param1','param2')
loFrmRV.Show()
cVar = loFrmRV.cReturnVal 
Release loFrmRV
Hope this helps,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform