Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing multiple forms
Message
 
To
21/07/1999 19:33:50
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00244464
Message ID:
00244769
Views:
17
This code will release all open forms:

for i = _screen.FormCount to 1 step -1
_screen.Forms[i].release()
endfor

In there, you may want to include code to run a save method on each form and return a value indicating whether to release the form if update was succesful.

Charlie
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform