Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
This page is new in 8.1.

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-2009, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 8.1. This page is new in the 8.1 release.
Created 2007.4.30.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
This page is new in 8.1.