In addition to the System Tree window, PowerBuilder 8 includes two new windows to assist you as you develop and debug targets—the Clip and Output windows.
Clip window The Clip Window button opens a window in which you can store bits of code you use frequently. You can copy text to the Clip window to be saved and then drag or copy this text to the appropriate painter view when you want to use it.
The Clip window displays a list of named clips and a preview of the information contained in each. It provides buttons to move Clip window contents to the clipboard, copy clipboard contents to the Clip window, rename a clip, and delete a clip. Clips you save in one workspace are available in all your workspaces; you may want to use a naming convention that reflects this.
For example, you might use standard error-checking code when you use the ConnectToServer function to connect to EAServer. To copy it to the clipboard, highlight the code in a Script view and select Copy from the popup menu. In the Clip window, click the Paste icon, and name the clip. Now you can drag the clip from the Clip window to any script in which you want to connect to EAServer. You can also use the Copy icon to copy the clip to the clipboard.
The Clip window displays by default when you start PowerBuilder for the first time. You can hide or display the Clip window using the Clip Window button on the PowerBar or by selecting Window>Clip.
Output window The Output button opens a window in which the output of a variety of operations (migration, builds, deployment, project execution, object saves, and searches) is displayed. Operations can be controlled using the Skip, Stop, Next Error, and Previous Error buttons or menu options.
When appropriate, lines in the Output window provide links that invoke a painter when you double-click on the line. The popup menu also provides the options Edit and Edit Source to open an object in a painter or the Source editor.
The Output window displays by default the first time PowerBuilder performs an operation that generates output. You can hide or display the Output window using the Output button on the PowerBar or by selecting Window>Output.