Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return from createobject
Message
From
28/10/2006 04:46:18
 
 
To
27/10/2006 23:34:32
Suhas Hegde
Dental Surgeon
Sirsi, India
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01165239
Message ID:
01165258
Views:
12
Hi,

>Can i get a return value from a form class which is modal with createobject like
>
>
>M.o1 = createobject('Myform')
>
>m.o1.windowtype = 1 && modal


The simplest way is to hide rather than release the modal form. You can put:
THIS.HIDE
NODEFAULT
in the QueryUnload of the modal form. You can then access the properties of the modal form when control returns to the creation code. Use m.o1.Release when you're done.
HTH,
Viv
Previous
Reply
Map
View

Click here to load this message in the networking platform