Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find and Close all Instantiated Forms
Message
 
 
To
03/12/2008 16:23:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01365406
Message ID:
01365425
Views:
19
>Hello all. I have a timer that forces our Mere Mortals application to close. To ensure a graceful exit, I need to check for any forms open in the application and possibly call their unload/release etc event.
>
>I have seen goApp.oForms.GetFormCount() used, and a FOR loop as such:
>
>>>FOR EACH oForm IN _screen.Forms
>** do some magic to find form name and close it?
>
>
>I am having issues with a graceful (cannot access selected table errors) exit when simply calling OnShutDown() with an open form.
>
>TIA
>Amanda

Hi Amanda,

I think I meant this thread Re: Question about CloseAllForms method in Forms manager Thread #1102443 Message #1102566

Also found this Re: Bug on Exit Thread #1090290 Message #1090461
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform