Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## object-editor-delete

Arguments: object-editor

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

It removes the currently-displayed instance (see current-instance) from the set of instances that the specified object-editor (an instance of `object-editor`) is editing. If the edited-class is a persistent class, then db.ac:delete-instance is also called on the instance to remove it from the AllegroCache database. (This function and button are probably useful only for persistent classes.)

The dialog will then display the previous instance that is in the internal sorted list, if any, and otherwise the next instance, if any. (See display-special-instance.)

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.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version