Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unload
Message
From
16/06/1999 12:06:26
 
 
To
16/06/1999 11:45:58
Sony Joseph
Dovenmuehle Mortgage Inc
Schaumburg, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Re: Unload
Miscellaneous
Thread ID:
00230457
Message ID:
00230473
Views:
19
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?
Previous
Reply
Map
View

Click here to load this message in the networking platform