>How can I control when the user clicks on the X to close a Form?
>Is there a way to not let the form close when the X is clicked?
>I tried the Destroy method, but it only happens when the form is already closing.
>I need to controle whether I can let the user close or not the current form or be certain that the user realy wants to close it asking him.
Put your trapping code in the QueryUnload Event of the form.