Please see Re: Catch the close control Thread #1291393 Message #1291422
Hopefully that answers your question.Actually, I already saw that one and no, unfortuanately, it does not answer my question.
My problem is the opposite: I want to unconditionally close the form, even if a validation is taking place.
Thanks for trying, though.