>If you could figure out what event fires when you click on the close button you could use bindevent() I can't seem to bind to either a modify command window or an editsource() window.
>
Hi Carole:
I don't have VFP 8.0 to test, but you may be on to something. Can you bind oHandler.GoodBye method to the lotest.QueryUnload event of Window test?
--Paul