>I think the problem lies with the DO...WHILE loop. If you recode something like this:
>
>
>do form MainForm
>read events
>.
>.
>.
>.
>
>
>You will exit the event loop by a menu selection or interface object firing the clear events code.
Jill's READ EVENTS loop is fine. It's actually a very graceful way to handle program shutdown. I implement something very similar.
Jill- is it possible that you have your forms set to show "In-SCreen" and you have made your _SCREEN object invisible with SCREEN=OFF in config.fpw, or with _SCREEN.Visible = .F.?
Erik Moore
Clientelligence