ck.letterbox
Registered User.
- Local time
- Tomorrow, 00:15
- Joined
- Jun 26, 2008
- Messages
- 19
Hi guys,
I don't know if my question is the silly problem.
Well, my problem is just like the topic.
The detail is that I have a form with 2 buttons.
Button1 will do INSERT into a table
and Button2 will just close the form by not delete anything in the table.
What I want is when users click the close button on the top right of the window, program will DELETE * from the table.
So, it comes to the point that how I can identify that the Form_Close()
is fired by Button2 or close button of the window.
Any suggestion would be very appreciate. Thank you.
I don't know if my question is the silly problem.
Well, my problem is just like the topic.
The detail is that I have a form with 2 buttons.
Button1 will do INSERT into a table
and Button2 will just close the form by not delete anything in the table.
What I want is when users click the close button on the top right of the window, program will DELETE * from the table.
So, it comes to the point that how I can identify that the Form_Close()
is fired by Button2 or close button of the window.
Any suggestion would be very appreciate. Thank you.