[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
Motif and CDE 2.1 Style Guide Reference
Delete (Action Choice)
Reference
Description
The Delete choice includes the following:
DeleteAn action choice that removes selected elements. The space they occupied
is usually filled by the remaining elements in the scope of selection.
Delete to TrashAn action choice that removes selected elements (generally objects) and
puts them into the trash. The space they occupied is usually filled by the
remaining elements in the scope of selection.
When to Use
RecommendedProvide a Delete choice if elements can be removed. Depending on the type
of data and view presentation, either compress or do not affect the window
previously occupied by the deleted element or group of elements.
Guidelines
RequiredIf only objects are selected, the Delete choice should not be available in
the Edit menu. Provide Delete to Trash in the Selected menu instead. If the
selection scope includes only objects, then do not provide Delete in the Edit
menu.
RecommendedIf the elements selected represent links or references to objects and you
want the user to be able to destroy the underlying object, do one of the
following:
Provide separate choices (for example, Delete or Delete to Trash).
Make Delete to Trash a cascaded entry through which the user can specify
whether to delete the links or references or the underlying objects.
RequiredIn an editable selection scope, any operation that deletes a region (not
containing objects) has the following effect if something is currently
selected in the scope:
In normal modeDeletes the selection.
In add modeIf the cursor is not outside of the selection, deletes the selection.
In add modeIf the cursor is outside of the selection, deletes the specified region,
possibly including part of the selection.
RequiredIn an editable selection scope, pressing Delete and Backspace have the
following effects if the cursor is within text and the selection is not empty
and contains no objects:
In normal modeDeletes the selection.
In add modeIf the cursor is not outside of the selection, deletes the selection.
In add modeIf the cursor is outside of the selection, pressing Delete deletes the
character following the cursor and pressing Backspace deletes the character
preceding the cursor.
RequiredWhen nothing is selected in an editable selection scope, and there is a
character following the text cursor, pressing Delete deletes it.
RequiredWhen nothing is selected in an editable selection scope, and there is a
character preceding the text cursor, pressing Backspace deletes it.
Essential Related Topics
For more information, see the Clear (Choice) and Edit Menu reference
pages.
Supplemental Related Topics
For more information, see the Menu Guidelines reference page.
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]