Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Do nesting exceded
Message
From
17/07/2000 01:32:57
 
 
To
15/07/2000 18:29:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00392852
Message ID:
00393105
Views:
18
>Thanks Ed,
>
>This may sound dumb, but what is the best way to close, end or release thisform.
>I sounds like I close one form, then give a new "Do Form" command. Am I correct ?
>And can you give me a sample of a close to a form, and the opening of another form ?
>
>John

John, if you use the command

DO FORM myformname NAME myfornname linked

VFP creates a variable in memory named "myformname" at the same time you start the form.
When the user leaves the form you simply need to put the command

RELEASE myformname

and the form is released. The RELEASE statement can be in an exit button, or in the destroy method
or even in the lostfocus method, though that will close the form if the user alt+tabs to another application.

hope this helps.

David
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform