Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return to Master
Message
 
 
To
07/03/1999 10:53:28
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00194988
Message ID:
00195035
Views:
26
Jamie,

There really isn't a need to use RETURN TO anywhere within a VFP app. Those are only in for support of FP2.x legacy code.

If the form is modal after you call the Release() method you will be returned to the line of code after the DO FORM. If the form is modeless then the form just goes away.

>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..
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform