Opening the Script View

You can open the Script view from the Solution Explorer context menu or by double-clicking a control, function, or event.

If there is no open Script view, selecting a menu or PainterBar item that requires a Script view automatically opens one.

Do one of:
Option Description
From the Solution Explorer Right-click a scriptable control and select Open Script.
For a control In the Layout view, double-click a scriptable control.
For a function or event Double-click an event or function in the Solution Explorer or PB Object Outline.
If you double-click a control, function, or event, the Script view shows the script for the selected item. If the Script view is in a tabbed pane and is hidden, it pops to the front. If there is no open Script view, PowerBuilder creates a new one.