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

Replacing the Current Content Canvas Programmatically

To replace a window's current content canvas programmatically, use the Built-in procedure REPLACE_CONTENT_VIEW.

The canvas specified must be a content canvas, and it must be assigned to the window indicated. (You cannot replace a window's current content canvas with a canvas assigned to a different window.)

You also can use the SHOW_VIEW and SET_VIEW_PROPERTY Built-ins to replace a window's content canvas. If the window contains stacked canvases, however, there is an important functional difference between these Built-ins and the REPLACE_CONTENT_VIEW Built-in:

Remember that Oracle Forms always keeps the current item visible to the end user. If you programmatically replace the content canvas that contains the current item, Oracle Forms will automatically redisplay the original canvas.

Replacing the current content canvas programmatically Examples

/*

** Example 1: This procedure call replaces the WIN_5 window's
** current content canvas with a content canvas named CVS_1:

REPLACE_CONTENT_VIEW('win_5', 'cvs_1');

*/


Assigning multiple content canvases to a window

Events that change the current content canvas