Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unload
Message
De
16/06/1999 12:06:26
 
 
À
16/06/1999 11:45:58
Sony Joseph
Dovenmuehle Mortgage Inc
Schaumburg, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Re: Unload
Divers
Thread ID:
00230457
Message ID:
00230473
Vues:
20
I'm pretty sure that you can't hide a modal form without killing it. If you want to return values from the modal form, work the other way around. Make your modal form write the values to the calling form by passing the form object in parameter.

oForm = CreateObject("MyForm", THISFORM)

MyForm.Init()
LPARAMETERS oForm
THIS.oForm = oForm

MyForm.Unload()
THIS.oForm.Property1 = SomeValue

HTH

>I have a form class (modal). I used the following commands. On a commandbutton's click method, I just hide the form.
>oform= createobject('myform')
>oform.show
>oform.release
>
>my problem is when the control reaches oform.release it says, oform does not exist, I also want to get some values returned from the class properties. The unload event seems to kill my variables.
>
>How can I overcome this?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform