Results 1 to 8 of 8

Thread: cancel validation of txtbox if form close btn(x) is pressed

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,158

    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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width