You can set the CausesValidatio n property of the button to False - that will
do it for you. You can also trap the textboxes validating event and cancel
it if some condition is true.
TiBA Solutions www.tibasolutions.com | www.devbuzz.com | www.knowdotnet.com
"Joel" <Joel@discussio ns.microsoft.co m> wrote in message
news:872274FA-1828-4EE6-BDAF-221126E0C1D7@mi crosoft.com...[color=blue]
> Hi! I have a textbox and there is a validating. My question is when I quit
> (Push Button) I don't want the validating proc to fire, is it possible?[/color]
Thank You I will check that out. Joel :)
"W.G. Ryan eMVP" <WilliamRyan@No Spam.gmail.com> wrote in message
news:e0XZCsryEH A.4004@tk2msftn gp13.phx.gbl...[color=blue]
> You can set the CausesValidatio n property of the button to False - that
> will
> do it for you. You can also trap the textboxes validating event and
> cancel
> it if some condition is true.
> http://www.vb-helper.com/howto_net_use_validation.html
>
> --
> W.G. Ryan MVP (Windows Embedded)
>
> TiBA Solutions
> www.tibasolutions.com | www.devbuzz.com | www.knowdotnet.com
> "Joel" <Joel@discussio ns.microsoft.co m> wrote in message
> news:872274FA-1828-4EE6-BDAF-221126E0C1D7@mi crosoft.com...[color=green]
>> Hi! I have a textbox and there is a validating. My question is when I
>> quit
>> (Push Button) I don't want the validating proc to fire, is it possible?[/color]
>
>[/color]
Comment