Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing all forms
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00159684
Message ID:
00159688
Views:
25
>I need to close all the forms so the user can relogon to a different database. I'm thinking I need to do something with _screen and controls[], but I'm not sure what syntax I need.
>
>Thanks,
>
>-Michelle

Michelle, you need

FOR n=1 TO _screen.FormCount
_screen.forms[n].Release
ENDFOR

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform