Arguments: grid-widget selected-subsections
If the user presses the delete key while a grid-widget
has the keyboard focus,
and there are any grid-rows or grid-columns in the grid whose deletable properties are
true, then this generic function is called to determine whether the
rows and columns should in fact be deleted. The default method
invokes a modal dialog with a standard question about whether to
delete the rows and columns.
Applications should not call this function, which is called automatically, but may add methods to override the default behavior, perhaps to show a different message in the dialog or even to not show a dialog at all. The method should return true if the rows and columns should be deleted and nil if they should not.
grid-widget is the grid that has the focus and contains the rows and columns to be deleted. selected-subsections are the rows and/or columns of the grid-widget that are currently selected and whose deletable properties are true.
Here is the default method:
(defmethod confirm-grid-subsection-deletion ((grid-widget grid-widget) selected-subsections) (let* ((*print-length* nil)) (y-or-n-dialog "Delete rows and / or columns ~a ?" selected-subsections)))
See also select-subsection, deselect-subsection, and deletable.
Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.
The documentation is described in introduction.htm and the index is in index.htm.
Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.
Created 2000.10.5.