Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Show form
Message
 
 
To
02/12/2009 13:15:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01437233
Message ID:
01437311
Views:
51
>First part of problem solved
>
>do form showdata
>read events
>
>when i close the form, the program freezes.
>i tried 'release form showdata' and 'clear events' after the 'read events' to no avail. is there another command needed or perhaps a setting in the form properties.

Clear Events would need to be added then in each form's Exit code (you can do in Exit command - thisform.Release()

and in Release do

dodefault()
CLEAR EVENTS

-----------------------
But this is too much trouble, IMHO. It's better to do one read events in the MAIN program and one CLEAR events in Exit procedure (called by the Menu and OnShutdown routine).
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