As the needs of your target change, you can rearrange the objects in libraries. You can copy and move objects between libraries or delete objects that you no longer need.
To copy objects using drag and drop:
In the Tree view or the List view, select the objects you want to copy.
Drag the objects to a library in either view. If the contents of a library are displaying in the List view, you can drop it there.
PowerBuilder copies the objects. If an object with the same name already exists, PowerBuilder prompts you and if you allow it, replaces it with the copied object.
To move objects using drag and drop:
In the Tree view or the List view, select the objects you want to move.
Press and hold Shift and drag the objects to a library in either view. If the contents of a library are displaying in the List view, you can drop it there.
PowerBuilder moves the objects and deletes them from the source library. If an object with the same name already exists, PowerBuilder prompts you and if you allow it, replaces it with the moved object.
To copy or move objects using a button or menu item:
Select the objects you want to copy or move to another library.
Do one of the following:
Click the Copy button or the Move button.
Select Copy or Move from the pop-up menu.
Select Entry>Library Item>Copy or Entry>Library Item>Move from the menu bar.
The Select Library dialog box displays.
Select the library to which you want to copy or move the objects and click OK.
To delete objects:
Select the objects you want to delete.
Do one of the following:
Click the Delete button.
Select Delete from the pop-up menu.
Select Entry>Delete from the menu bar.
You are asked to confirm the first deletion.
Being asked for confirmation By default, PowerBuilder asks you to confirm each deletion. If you do not want to have to confirm deletions, select Design>Options to open the Options dialog box for the Library painter and clear the Confirm on Delete check box in the General tab page.
PowerBuilder records this preference as the DeletePrompt variable in the Library section of the PowerBuilder initialization file.
Click Yes to delete the entry or Yes To All to delete all entries. Click No to skip the current entry and go on to the next selected entry.