Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.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-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 9.0 page.
Created 2015.5.21.

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