Creating a Toolbar Canvas
To create a toolbar canvas:
- In the Object Navigator, click the Canvases
node, and Click the Create button
in the toolbar.
- Choose Tools | Property Palette.
- In the Property Palette, under the General and
Physical nodes, set properties as follows:
- Canvas Type—Horizontal Toolbar or Vertical
Toolbar.
- Window—the name of the window in which you
will display the toolbar canvas.
- Width/Height—the dimensions of the toolbar
canvas. A toolbar canvas generally is as wide (or tall) as the window
to which it is assigned, and as deep (or wide) enough to display a single
row (or column) of items. (Note that Oracle Forms accepts any dimensions
you specify, even if the resulting toolbar completely obscures the window's
content canvas.)
- In the Object Navigator, under the Windows node,
click the window to which you assigned the toolbar canvas in Step 3.
- Double-click the window's object icon to display the Property Palette.
- In the Property Palette, under the Functional
node, set the Horizontal Toolbar Canvas and/or Vertical Toolbar Canvas properties
to the name of the toolbar you created in Step 1.
- Add items and boilerplate graphics to the toolbar canvas as you would for
any other canvas.
Note: Use of navigable and mouse-navigable items in a toolbar canvas is not supported.
Related topics
Canvas Type property
Horizontal Toolbar Canvas property
Vertical Toolbar Canvas property
Creating a toolbar canvas for the MDI window
Creating multiple toolbar canvases for the same window