Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return to Master
Message
From
07/03/1999 11:05:23
 
 
To
07/03/1999 10:53:28
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00194988
Message ID:
00194996
Views:
23
>I am having difficulty at times having a form release and return to the calling routine (DO FORM from a menu). Code in the load event is something like this:
>
> if control.ct_lastclosed +20 > date()
> messagebox('You must wait...',64,'Attention')
> thisform.release()
> return to master
> endif
>
>I have tried swapping the thisform.release and return to master, removing thisform.release, etc. Am I missing a SET command perhaps? Any help greatly appreciated..
>
>Jamie Flick

I think the functionality you want will come from understanding the program flow with modal and modeless forms. When calling a modeless form, the procedure that called it finishes its course as soon as the form.init finishes running. Calling a modal form transfers control to the form that was called, and the calling code does not run its course until the modal form is released. Does that get you closer to what oyu want to do?
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform