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

Manipulating a Tab Canvas Programmatically

Like stacked canvases, use the SHOW_VIEW, HIDE_VIEW, and SET_VIEW_PROPERTY Built-ins to show and hide a tab canvas programmatically.

To show or hide a tab page, use the SET_TAB_PAGE_PROPERTY Built-in. To make a tab page the topmost page on a canvas, use the SET_CANVAS_PROPERTY Built-in. To change the tab page on which an item is displayed, use the SET_ITEM_PROPERTY Built-in.

To show or hide a tab page:

To enable or disable a tab page:

To make a tab page the top-most on its underlying tab canvas:

Manipulating a tab canvas programmatically: Examples

/*

** Example 1: This procedure call shows the tab page TAB1 on the
** tab canvas CAN5:
*/
SET_TAB_PAGE_PROPERTY('can5.tab1', visible, property_true);

/* Example 2: This procedure call disables tab page TAB1, but
** leaves it visible on its underlying tab canvas CAN5:
*/
SET_TAB_PAGE_PROPERTY('can5.tab1', enabled, property_false);

/* Example 3: This procedure call makes tab page TAB1 the
** top-most page on its underlying tab canvas CAN5:
*/
SET_CANVAS_PROPERTY('can5', topmost_tab_page, 'tab1');


HIDE_VIEW Built-in

SHOW_VIEW Built-in

SET_VIEW_PROPERTY Built-in

SET_CANVAS_PROPERTY Built-in

SET_TAB_PAGE_PROPERTY Built-in

SET_ITEM_PROPERTY Built-in