[Mono-winforms-list] [Patch] CausesValidation handling
Carlos Alberto Cortez
calberto.cortez at gmail.com
Mon Feb 16 14:59:38 EST 2009
Hey,
The attached patch basically adds support for Control.CausesValidation,
which means that in some scenarios the validation is postponed (when
CausesValidation if false, basically).
I'm concerned -specially- about the code readibility (it also includes the
description of the algorithm in the patch). I mention this because I spent
some time trying to understand this little documented algorithm (AFAIK) and
want the code to be easily understandable.
As test I used the very complete ones in
https://bugzilla.novell.com/show_bug.cgi?id=457170 . One test is still
failing, but that's due to the controls receiving focus/validation when
closing (which needs to be fixed too, but it's a little different issue).
Carlos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20090216/9607818a/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: container-validation.patch
Type: application/octet-stream
Size: 4964 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20090216/9607818a/attachment-0001.obj
More information about the Mono-winforms-list
mailing list