With &xwp;, "deleting" an object normally means moving it to the
&xwp; trash can.
The trash can collects all items that have been deleted and
allows you to recover objects that were deleted accidentally.
There are several ways to delete an object:
- Select the "Delete" menu item from an object's
&popmenu;.
- As a shortcut, you can also press the "Delete" key
on your keyboard to have the currently selected objects deleted.
- You can also
drag
objects and drop them onto the trash can.
Remarks:
- Some objects are protected against deletion. For files, this
can be the case if they have the "system" or "read-only"
file attributes
set. Besides, objects of certain
classes cannot ever be deleted
if they are crucial to the system's operation.
- Deleting a shadow does
not delete the object that the shadow points to, but the shadow only.
- If you want to immediately delete the selected objects, without
moving them to the trash can first, hold down the "Shift" key when
selecting the "Delete" menu item or pressing the "Delete" key. Be warned
that this operation normally cannot be undone: the selected objects are
destroyed for good.
- Depending on the settings on the "Confirmations" page
in the &link_wpsobj;,
&xwp; will display a confirmation message before permanently deleting
objects.
- If you prefer to always immediately delete objects, instead
of moving them to the trash can first, enable the respective setting
on the first properties page in the trash can's
properties notebook.
- There are ways to recover file-system objects that have been
accidentally deleted with the use of the
UNDELETE
command on the
&os2; command line. However, this requires that support for this be enabled
first. See the
documentation of the UNDELETE
command
in the &os2; Command Reference.
- You can disable &xwp;'s delete replacements on the "Features" page
in the
"&xwp; Setup" object.
For related information, select from the list below: