|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
CausesValidationHi all, I've a form with a Cancel Button. The button has its CausesValidation
property set to false. I've got some Validating events on the form's controls. When I click the button everything works fine: No Validating event is fired. But when focus is on any other control and I press ESCAPE (which is supposed to simulate the cancel button click event) the Validating event is fired. I guess this is a bug. But if anyone has a solution for the Validating event not being fire when I press Escape I would appreciate. TIA DC,
http://www.thescripts.com/forum/thread512556.html Kerry Moorman Show quoteHide quote "DC" wrote: > Hi all, I've a form with a Cancel Button. The button has its CausesValidation > property set to false. I've got some Validating events on the form's controls. > > When I click the button everything works fine: No Validating event is fired. > But when focus is on any other control and I press ESCAPE (which is supposed > to simulate the cancel button click event) the Validating event is fired. > > I guess this is a bug. But if anyone has a solution for the Validating event > not being fire when I press Escape I would appreciate. > > TIA
Simple Pulbic Variable
Exclude code of my application sort two arrays as one? Copying files with progress bar How to stop disabled text boxes being greyed out VB2008 changes? Vb.Net/SQL slowdown VB.NET desktop equivalent to asp.net stylesheets using foxpro table from VB.net 2005 with oledb Multi language tooltips in Windows forms |
|||||||||||||||||||||||