A script-enabled browser is required for this page to function properly.

Creating Multiple Toolbar Canvases for the Same Window

It is possible to create two or more toolbar canvases of the same type (horizontal or vertical) and assign them to the same form window by setting the canvas Window property.

When two or more toolbars are assigned to the same form window, Oracle Forms will attempt to display the primary toolbar canvas on the window at runtime. You specify the primary toolbar canvas for a window by setting the window's Horizontal Toolbar Canvas or Vertical Toolbar Canvas property.

However, Oracle Forms may display a toolbar canvas other than the primary toolbar canvas if navigation occurs to an item on another toolbar, or if the application programmatically shows or raises a different toolbar canvas by executing SHOW_VIEW or SET_VIEW_PROPERTY.

Defining MDI toolbars also can result in a situation where more than one toolbar canvas is being mapped to the same form window. For example, you might create a form with two toolbar canvases of the same type (horizontal or vertical) that are assigned to the same form window, one of which is designated as the MDI toolbar (by setting the form module Form Horizontal/Vertical Toolbar Canvas properties). On Microsoft Windows, the MDI toolbar is always mapped to the MDI window, and is not displayed on the window to which it is assigned (as indicated by its Window property setting). However, on non-Windows platforms that support toolbars, such as Motif, the MDI toolbar is mapped to the window to which it is assigned, and becomes one of that window's potential toolbar canvases. In this case, Oracle Forms will attempt to display the window with the toolbar that you designated as the primary toolbar, but may display a different toolbar in response to navigation or programmatic events.


About MDI and SDI windows

Creating a toolbar canvas