previous up next contents

Subsections

2.1.2 The List Modification Buttons

The list modification buttons are split into three groups. The first two buttons (New and Edit) allow you to create or modify resource items. The second group (Cut, Copy and Paste) are used to remove, copy or insert resource items; the last two buttons (Raise and Lower) give you fine control over the order of items in the list.

Creating and Modifying Resource Items

To add a new item to a resource list, click the New button to invoke a resource dialog through which you can specify the properties of the new item. The new item will be added to the resource list when you click OK in the resource dialog.

You can change the properties of the resource item with the focus by clicking the Edit button, or by double-clicking on the item. This invokes the same dialog as clicking the New button does, except that the dialog fields are filled with the current resource property values. Change the fields to the desired values and click OK to return to the resource list dialog.

Deleting, Copying and Moving Resource Items

The Cut, Copy and Paste buttons make use of a temporary, hidden store called the resource list clipboard, which exists as long as the resource list dialog is open.

The Cut button removes the selected resource items from the resource list and stores them in the clipboard; the Copy button creates copies of the selected items in the clipboard. Both operations cause any previous contents of the clipboard to be overwritten.

The Paste button copies the resource items currently in the clipboard to the resource list at the position of the focused item. Repeated use of the Paste button results in multiple copies of the clipboard contents being inserted into the resource list. If necessary, resource names are modified upon pasting to preserve their uniqueness.

Changing the Order of Resource Items

The last two list modification buttons, Raise and Lower are used change the order of the list items. Click the Raise button to raise the selected items by one place; click the Lower button the lower them by one place.

Note that you can order the list items by any of their properties by clicking on the header for that property in the list window, as described in Section 2.1.1.


previous up next contents

© 2004 - 2006 Silverbean Software