Form.Close
hi
the code you wrote is closing the form. the question becomes .....which code
did you write that is closing the form. forms don't close themselves for no
perticular reason.
since you didn't post your code for us to analize...
have you tried step mode to see which code you wrote is closing the form????
i doubt the close button came with built in code.
Regards
FSt1
"kirkm" wrote:
Hi,
I'm having trouble detecting how a Form Closes.
I want to allow whatever is done to be cancelled (if the Forms Close
button is used) but as the .Hide and form unload routines always run
I can't tell if it closed via my code, or by the close button.
This HAS to be simple but I can't figure it !
Any suggestions?
Thanks - Kirk
|