M
Michael R
I am creating a number of Forms to be used as my UI. One
of the requests from the Management was that I use the
standard Close button on the Forms to exit them. I also
need to use a 'Are you sure?' dialog box to make sure
that they really wanted to close the Form. Is there any
way to Cancel the Close action once the Close Button is
clicked?
I tried a CancelEvent with a Dialog asking the Yes/No
question in onClose, but it closes no matter whether they
answer Yes or No.
Any ideas?
of the requests from the Management was that I use the
standard Close button on the Forms to exit them. I also
need to use a 'Are you sure?' dialog box to make sure
that they really wanted to close the Form. Is there any
way to Cancel the Close action once the Close Button is
clicked?
I tried a CancelEvent with a Dialog asking the Yes/No
question in onClose, but it closes no matter whether they
answer Yes or No.
Any ideas?