Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.0
Significantly revised from 7.0.

delete-command

Arguments: window-or-widget

Deletes an object from the specified window or widget if possible. Does not place anything onto the clipboard as copy-command and cut-command do.

window-or-widget should an instance of the basic-pane, dialog-item, or screen class or one of their subclasses.

This function behaves as copy-command does to pass its action to a child window, except that it calls delete-selection rather than copy-selection on the child window. See copy-command for more information.

Here is the default method for windows and the screen:

(defmethod delete-command ((stream screen-stream))
  (let* ((child (selected-window stream)))
    (if* child
       then (delete-command child)
       else (delete-selection stream))))

In earlier releases, use of this operator was deprecated. It has now been restored to approved status.


Copyright (c) 1998-2008, Franz Inc. Oakland, CA., USA. All rights reserved.
This page has had significant revisions compared to the 7.0 page.
Created 2007.4.30.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.0
Significantly revised from 7.0.