Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version

object-editor-revert

Arguments: object-editor

This function is called by the :revert-button widget of an object-editor dialog (see command-buttons), and may also be called directly by application code.

It undoes any modifications that the user has made to the currently-displayed instance if they have not yet been saved by a call to object-editor-save. It does this by simply calling display-instance on the current-instance of the object-editor (an instance of object-editor) to overwrite any modified values in the widgets.

Note that an automatic save might occur before the user realizes it if the save-on-clear-focus or the save-on-new-widget-value property is true. Pressing the Enter key also does a save if the :save-button widget (a default-button) is included.


Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version