Adding an existing target to a workspace

Although you can have only one workspace open at a time, you can add as many targets to the workspace as you want and open and edit objects in multiple targets.

NoteWorking with targets that share PBLs If a target shares PBLs with another target in the same workspace, as is the case when you create a .NET target based on an existing application target, you should work on only one target at a time. Objects are always opened in the context of a specific target. When you open an object in a PBL that is used in multiple targets, PowerBuilder needs to set global properties for the specific target you are working on.

StepsTo add an existing target to a workspace:

  1. Right-click on the workspace displayed in the System Tree and select Add Target from the pop-up menu.

    The Add Target to Workspace dialog box displays.

  2. Navigate to the directory containing the target you want to add and select the target (.pbt) file.

  3. Click Open.

    The target is added to your current workspace.