PowerBuilder has built-in toolbars. When you start PowerBuilder, you see what is called the PowerBar. In each painter, you also see one or more PainterBars. But PowerBar and PainterBar are actually types of toolbars you can create to make it easier to work in PowerBuilder.
A PowerBar is a toolbar that always displays in PowerBuilder, unless you hide it. A PainterBar is a toolbar that always displays in the specific painter for which it was defined, unless you hide it:
For this toolbar type |
The default is named |
And you can have up to |
---|---|---|
PowerBar |
PowerBar1 |
Four PowerBars |
PainterBar |
PainterBar1 PainterBar2 and so on |
Eight PainterBars in each painter |
You can create a new PowerBar anywhere in PowerBuilder, but to create a new PainterBar, you must be in the workspace of the painter for which you want to define the PainterBar.
Position the pointer on any toolbar, display the pop-up menu, and select New.
The New Toolbar dialog box displays.
Select a PowerBar name or a PainterBar name and click OK.
The Customize dialog box displays with the Current toolbar box empty.
One at a time, drag the toolbar buttons you want from the Selected palette box to the Current toolbar box and then click OK.