>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