Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version

object-editor-save

Arguments: object-editor

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

It writes any values that the user has modified in the widgets of the object-editor (an instance of object-editor) back into the slots of the current-instance that the object-editor is displaying. If object-editor-revert is called first to undo the current edits, then they will never be saved.

This function is called automatically whenever a new instance is displayed, to save the previously-displayed instance first. It is also called when the keyboard focus is moved from the object-editor if its save-on-clear-focus property is true. It is called anytime the user has modified a widget if the save-on-new-widget-value property is true.

The modified property of an object-editor will be true when there are unsaved edits to the currently-displayed instance.


Copyright (c) 1998-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version