Copying, moving, and deleting objects – PB Docs 2021

Copying, moving, and deleting objects

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

  1. In the Tree view or the List view, select the objects you
    want to copy.

  2. 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

  1. In the Tree view or the List view, select the objects you
    want to move.

  2. 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

  1. Select the objects you want to copy or move to another
    library.

  2. 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.

  3. Select the library to which you want to copy or move the
    objects and click OK.

To delete objects

  1. Select the objects you want to delete.

  2. 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.

  3. 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.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x