I have two classes of classes inheriting from a common base. One form is called modal, and the other is non-modal. Validation is required when the focus changes, but not when the form is canceled. When the Close Box check box is selected in a modular form, it closes properly, without any checks on it. When the Close check box is selected in a non-modal form, verification events are activated. The Cancel button using CausesValidation set false works fine in both cases.
I tried setting CausesValidation in a non-modal form to false, but the problem remains. It should be noted that forms are mdi children.
Any ideas?
thank.
source
share