Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open forms when 'clear events'
Message
From
17/08/1998 11:58:10
 
 
To
17/08/1998 11:49:18
Swen Nielsen
Squire Sanders & Dempsey
Cleveland, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00127449
Message ID:
00127451
Views:
31
>Can I tell if my user is trying to exit while a form is open? I use 'read events' in the startup program and launch a menu. The user can open forms and then select 'File/eXit' and terminate potentially causeing a problem releasing files. Any ideas will be greatly appreciated.
>Thanks again
>-Swen

Your code can always check for form exising and release forms if necessary:
For n=1 to _screen.formcount
_screen.forms(n).release
Endfor
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform