Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange problems closing application
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00093921
Message ID:
00093925
Views:
26
>Hi to all,
>
>I've stranges problems when I close the application using the "X" button. Before to release the application object I loop to close each form but sometime a form has strange errors like : alias not found, object (like button) does not exist.
>Every form close well if I close it using the a close button on the form ( on the click I do a RELEASE THISFORM.
>
>Any idea on what I'm doing wrong ?
>Some experiences with closing events and method and how I can use those to do my operation (like save each modify or realign a table etc.etc) and what I haven't to do ( ie. in event X cannot use THISFORM.methodY() because maybe the form's object it's destroyed etc.)
>
>Any suggestions and experiences are appreciated
>Thanks in advance.

What we usually do is we make _SCREEN.CLOSABLE to .F. if there is an active form atop Main app screen using WONTOP(), and then get back to .T. if WONTOP() is zero. With this approach apps is easier to maintain (worryfree).
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Reply
Map
View

Click here to load this message in the networking platform