Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Don't Validate
Message
From
08/02/2002 11:10:15
 
 
To
08/02/2002 09:54:16
General information
Forum:
Visual Basic
Category:
Other
Title:
Miscellaneous
Thread ID:
00617337
Message ID:
00617430
Views:
23
Validate event in VB fires ONLY IF NEXT ACTIVATED CONTROL has property CausesValidation set to True. In your case, simply set this property of Cancel button to False.
In addition, good practice is to set Cancel property of Cancel button to True. This will cause Cancel button's Click event to fire when user press ESCAPE key.

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform