When you drop a control from the toolbox onto a form, the 'validate' property is set to 'true' by default. I was wondering if setting this to false for those controls that don't need to validate might increase performance slightly?
Printable View
When you drop a control from the toolbox onto a form, the 'validate' property is set to 'true' by default. I was wondering if setting this to false for those controls that don't need to validate might increase performance slightly?
^^
Nah.
Are you referring to the "CausesValidation" property?
If so then it won't make a blind bit of difference. The compiler knows that there is no event handler for the Validating event and thus will not call it. Speed will not be affected.
yeah, that's what I meant! lol thanks.