What does it do if you change the form's ShowWindow property to 2 (Top Level) and put the CLEAR EVENTS in the Destroy event?
P.S. Top level forms are NEVER modal so be sure to MOVE the CLEAR EVENTS.
>That may be correct, but since the form never displays, it will never get to the unload. I stuck the clear events, in the main.prg, just in case.
>
>BTW - I've also tried sticking in a DO MENU ... instead of the DO FORM, with the menu having an entry to DO FORM, and a CLEAR EVENTS to quit it.
>
>The menu never displays either.
Regards,
Mike
"We try to solve the problem by rushing through the design process so that enough time is left at the end to uncover the errors that were made because we rushed through the design process."
- Glenford Myers
If you're going through hell, keep going. - Walt Disney