Creating a Stacked Canvas
To create a stacked canvas:
- In the Object Navigator, under the Canvases
node, double-click the object icon of the content canvas on which you wish
to create a stacked canvas.
- In the Layout Editor, click the Stacked Canvas button in the toolbar.
- Click-drag the region where you want to place the stacked canvas.
Oracle Forms creates a stacked canvas, and gives it a default name, such
as CANVAS6.
- In the Object Navigator, under the Canvases
node, click the stacked canvas' object icon, then choose Tools
| Property Palette.
- In the Property Palette, under the Physical, Viewport
and Miscellaneous nodes, set properties as follows:
- Visible Yes (stacked canvas will be visible
when window is invoked), or No (stacked canvas remains hidden until displayed
in response to navigation or programmatic events).
- Width/Height Canvas dimensions. Stacked
canvases typically are smaller than the content canvas(es) in the same
window.
- Bevel Canvas border type. Use a border to
visually separate a stacked canvas from other canvases in the same window.
- Viewport Width/Height Dimensions of the
stacked canvas' view. If the view is smaller than the canvas, end users
can scroll the canvas at runtime.
- Viewport X/Y Position on Canvas X,Y display
coordinates of the view's upper-left corner (relative to the upper-left
corner of the content canvas currently displayed in the window). 0,0 (the
default) displays the stacked canvas at the upper-left corner of the content
canvas.
- View H/V Scroll Bar Will the stacked canvas
have a scroll bar (horizontal, vertical, both, none)? End users can scroll
the stacked canvas independently of the underlying content canvas.
- Define the stacked canvas' position in the stacking order.
If the stacked canvas is not displayed programmatically or in response to
navigation, make sure that its position in the stacking order places it in
front of the content canvas assigned to the same window. If not, it will be
shown behind the content canvas, and will not be visible at runtime. Recall
that the stacking order of canvases in a window is defined by the sequence
in which they are Listed under the Canvases node
in the Object Navigator.