Do you include "Back" and "Undo" buttons on every form?

Updated by Brady Stroud [SSW] 1 year ago. See history

123
<introEmbed body={<> Following on from including a URL, almost every form should have a Back and an Undo button which takes you back to the previous screen, or reverses the last action. This is just like Outlook (see figure below), it has a Back button to take you to the previous folder and an Undo button. </>} />
Image

✅ Figure: Good example - Back & Undo buttons in Outlook Advanced toolbar

Notes:

  • "Back" button should only be implemented if different views can be shown in the same window
  • Don't put "Undo" buttons on non data entry forms such as a Print Preview form

The list of forms/URLs and the order in which they have been accessed should be stored in a DataSet held in memory (like IE) - not saved to disk.

For example:

MenuActionUndoBack
CutRemember: Remember Text and Cursor Position Cut To ClipboardReturn to Remembern/a
Save RecordRemember old values Execute procCustomerSave Close FormReturn to Old valuesReopen form

Sample code implementation in the SSW .NET Toolkit.

Acknowledgements

Adam Cogan
Related rules

Need help?

SSW Consulting has over 30 years of experience developing awesome software solutions.

We open source.Loving SSW Rules? Star us on GitHub. Star