Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to return result from form created with CreateObject
Message
From
20/02/2008 17:11:48
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01294492
Message ID:
01294503
Views:
18
Don't release from inside the form. In cmdOK.click you can do

ThisForm.Visible = .F.

>Craig,
>
>Thanks for your quick reply.
>
>I had tried what you suggested. But, I must be doing something wrong. Unless I release the form in in cmdOK.Click code, I never return from the call to oFrm.Show().
>
>But, if I do release from within the form, I no longer have the oFrm object to work with.
>
>My form is modal. is that the problem?
>
>Thanks
>Jim
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform