form close
-
Folks this is a simple amost silly question, but still i would like to ask: I would like to imitate form close event identical to when you presses X to close, when I click on a button for close a form. I basically want to catch all exception in from control when the button clicked. Sincerely, Max Pastchenko
-
Folks this is a simple amost silly question, but still i would like to ask: I would like to imitate form close event identical to when you presses X to close, when I click on a button for close a form. I basically want to catch all exception in from control when the button clicked. Sincerely, Max Pastchenko
-
Folks this is a simple amost silly question, but still i would like to ask: I would like to imitate form close event identical to when you presses X to close, when I click on a button for close a form. I basically want to catch all exception in from control when the button clicked. Sincerely, Max Pastchenko
well, i thought this was rather a simple question.... hmmm Well here is what I tried, on the button click event, I tried calling form closing event where say textbox validation occured, but when exception is thrown, It does not get that piece of code. Sincerely, Max Pastchenko
-
Folks this is a simple amost silly question, but still i would like to ask: I would like to imitate form close event identical to when you presses X to close, when I click on a button for close a form. I basically want to catch all exception in from control when the button clicked. Sincerely, Max Pastchenko
Here we go again, Lets say i use this.close for close a form as this point ( when i press on a command that closes my form). I want to know an alternative way of doing so. This is because form closing event is not being called. It does get called when I press X of the form. What i want to acoomplish is trap any control value errors on form close (is text field empty or not when form closes). Does this help? Sincerely, Max Pastchenko
-
Here we go again, Lets say i use this.close for close a form as this point ( when i press on a command that closes my form). I want to know an alternative way of doing so. This is because form closing event is not being called. It does get called when I press X of the form. What i want to acoomplish is trap any control value errors on form close (is text field empty or not when form closes). Does this help? Sincerely, Max Pastchenko
Better validation check to simply validate values on text cahnged event Sincerely, Max Pastchenko