I have got an options form where I keep track of any changes.
If the user clicks the X on the form, I display the dialog to save changes with YES|NO|Cancel
With YES and NO, I will want the form to close after it goes through its routine, but if someone clicks cancel, how to I keep the form open.
I have the code to display the dialog in the forms closing event.
I just need to know, when someone clicks cancel, how to tell it not to actually close the form.
Thanks
Steve
If the user clicks the X on the form, I display the dialog to save changes with YES|NO|Cancel
With YES and NO, I will want the form to close after it goes through its routine, but if someone clicks cancel, how to I keep the form open.
I have the code to display the dialog in the forms closing event.
I just need to know, when someone clicks cancel, how to tell it not to actually close the form.
Thanks
Steve