Hey all,

I originally posted this on the msdn forums because I think it may be a bug and I wanted the msdn guys to see it, however, I'm not getting any help there so I'm hoping someone here can give me a hand.

I'm trying to get a cancel button on a form to not raise validation events. Looking it up on msdn it seems simple enough I just set the CausesValidation property on the button to False and it should not fire the validation event.

However, it's not working. I've looked at the different ways to change AutoValidate on the form but none of them give me the desired results and all the msdn material I can find leads me to believe that the form should keep it's default of EnablePreventFocusChange and that only the control (cancel button in this case) should I have to change anything.

I'm not sure if this is a bug in vb 2005 or if I am doing it wrong. Any and all help is really appreciated.