>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