*!* first way define window test from 2,1 to 13,75 title 'Output' name lotest ; close float grow zoom oHandler=NEWOBJECT("letitgo") BINDEVENT(lotest,[destroy],ohandler,[goodbye]) BINDEVENT(lotest,[deactivate],ohandler,[goodbye]) BINDEVENT(lotest,[activate],ohandler,[goodbye]) lotest.activate && binding fires, just wanted to be sure modify command ? window test && still asks *!* What events might there be for editsource() ??? EDITSOURCE('conversation.prg') return .t. define class letitgo as relation function goodbye SET STEP ON keyboard '{CTRL+W}' endfunc enddefine