The answer to your question really depends a lot on what it is you are doing
exactly. If I can give you any general advice in the absence of knowledge
about what you are doing then it would be that you could take one of the
following approaches.
1. Don't actually make any changes to data until the user clicks OK.
Clicking Cancel, therefore, simply avoids committing any changes.
2. Reverse any changes made before the user clicked cancel, when they click
cancel.
I'd say that 1 is your best bet, especially if you are just getting started.
Regards,
Wayne.
IamHaxer said:
Sorry, I'm just starting with all of this. I assumed that the cancel
button was pre set to actually cancel anything entered. Any ideas on what
code I should put in to make it work as an actual cancel button?