CancelEdit

Use this button to exit from edit mode of a form.

The CancelEdit button allows users to switch a form from Edit to View mode. A dirty check is displayed allowing the user to return to Edit mode and save his changes. The button calls the Command action with the Command argument set to Cancel.