>>I recall some problem like that. What I now use is thisform(set).release before clear events, and also I created a separate prg for cleanup in the project (I can't recall exactly why, but there was some problem).
>
>Oh, I just looked at code & I forgot to say that you need NAME param in do form, then NAME.release before clear events in cleanup proc. This seems to cleanup the processing pretty well...
I took a little different approach. Created a ShutDown method in my Form objects. ON SHUTDOWN calls a .prg that calls the ShutDown Method. This allows shutdown from within the Object, with This.Release. Same as Bruce mentioned about using NAME in DOFORM. This works well for one form, but have not tried to loop in the .prg to shutdown multiple forms yet.
Glenn