To programmatically display a canvas in the window to which it is assigned, use either the Built-in procedures SHOW_VIEW or SET_VIEW_PROPERTY.
Note: With one exception, when you display a canvas programmatically, Oracle Forms raises it in front of any other canvases in the same window, regardless of the stacking order you specified at design time, of whether the canvas was already displayed (but hidden behind another canvas) when the Built-in was called. The exception is when you try to programmatically display a canvas that would obscure the current item; in this case Oracle Forms will display the canvas, but behind the current item's canvas.
If you use the SHOW_VIEW or SET_VIEW_PROPERTY Built-ins to display a content canvas, it replaces the window's current content canvas.
To programmatically hide a canvas, use the Built-in procedures HIDE_VIEW or SET_VIEW_PROPERTY.
/*
** Example 1: These 2 procedure calls both display a content
** canvas named A_STACK:
SHOW_VIEW('a_stack');
SET_VIEW_PROPERTY('a_stack', visible, property_true);
** Example 2: These 2 procedure calls both hide a content canvas
** named A_STACK:
HIDE_VIEW('a_stack');
SET_VIEW_PROPERTY('a_stack', visible, property_false);
*/