Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning a value from a form
Message
 
À
23/08/2004 19:31:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00935781
Message ID:
00935789
Vues:
17
Thanks Fred!

Enmanuel

>
>You can do something like this:
>
>In your class, add aproperty for the return val, say .Retval.
>
>Instead of closing your form class, hide your form, and let the calling program retrieve the property and close the form.
>
>In your class,
>
>
thisform.Hide()
>
>And in your calling program,
>
>
thisform.Calendario.Show()
>dRetDate = thisform.Calendario.RetVal
>thisform.Calendario.Release()
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform