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 18:20:07
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00693423
Message ID:
00693483
Vues:
40
Larry,

I think that once a date is selected you have a method releasing frmCalendar (something like this.release or release thisform). Replace that by
this.hide
Control will be returned to the parent form, but as frmCalendar is still in memory you can access to all its properties. I hope this clarifies the idea.

Roberto

>Roberto,
>
>Thanks for the reply. I'm not quite sure I understand how you "return hiding" from a modal form and release it later. My frmCalendar will be modal and I want it to close once a date is selected, returning control to the calling cmdButton on a different form.
>
>-- Larry
>
>
>>just define a property in your form class (let's say MyFormClas.cRetVal) and when you finish your processing in oForm return hiding it. That way you can get the return value as oForm.cRetVal and release oForm afterwards.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform