>>Then, add a CLEAR EVENTS somewhere in your exit code to terminate the application...
>
>Thanks all you i learn something todays, just another question if i call another form from within my main form (old main form) do i have to issue a clear events..
No, the CLEAR EVENTS is only applied one time in the application, when you're ready to close up completely...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.