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
Printable View
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
you can trap the QueryUnload Event of the Form window.
The Eventhandler takes an UnloadMode argument that tells you how the user closed the form. You could store that value in a global variable or....