|
-
Apr 5th, 2010, 06:47 AM
#1
Thread Starter
Frenzied Member
cancel validation of txtbox if form close btn(x) is pressed
Is there an way to supress the validating event of textbox when the forms close button(X) is pressed.
In the textbox validating event , if the condition fails then i am displaying an messagebox. Now suppose if the textbox has the focus and user directly presses the forms X button , then the messagebox is displayed. I want to supress this.
Plz Help!
Last edited by aashish_9601; Apr 5th, 2010 at 07:15 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|