Is there a way to tell when a form is closed by the controlbox button?
You know like the msgbox returning a value?

Thanks in advance
ivan