11.01.2013 Views

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

GET_TAB_PAGE_PROPERTY built-in<br />

Description<br />

Returns property values for a specified tab page.<br />

Syntax<br />

FUNCTION GET_TAB_PAGE_PROPERTY<br />

(tab_page_id TAB_PAGE,<br />

property NUMBER);<br />

FUNCTION GET_TAB_PAGE_PROPERTY<br />

(tab_page_name VARCHAR2,<br />

property NUMBER);<br />

Built-in Type unrestricted function<br />

Returns VARCHAR2<br />

Enter Query Mode yes<br />

Parameters<br />

tab_page_id The unique ID <strong>Form</strong> <strong>Builder</strong> assigned to the tab page object when you<br />

created it. Use the FIND_TAB_PAGE built-in to return the ID to a<br />

variable of datatype TAB_PAGE.<br />

tab page_name The name you gave the tab page object when you created it. Note: if two<br />

tab pages in the same form module share the same name, you must provide<br />

the canvas and tab page (e.g., CVS_1.TAB_PG_1).<br />

property The property the value of which you want to get for the given tab page.<br />

The possible properties are as follows:<br />

222<br />

BACKGROUND_COLOR The color of the object’s background region.<br />

CANVAS_NAME Returns the VARCHAR2 name of the canvas to which<br />

the tab page belongs.<br />

ENABLED Returns the VARCHAR2 string TRUE if a tab page is<br />

enabled, FALSE if it is disabled (i.e., greyed out and unavailable).<br />

FILL_PATTERN The pattern to be used for the object’s fill region.<br />

Patterns are rendered in the two colors specified by Background Color and<br />

Foreground Color.<br />

FONT_NAME The font family, or typeface, that should be used for text in<br />

the object. The list of fonts available is system-dependent.<br />

FONT_SIZE The size of the font, specified in points.<br />

FONT_SPACING The width of the font, that is, the amount of space<br />

between characters (kerning).<br />

FONT_STYLE The style of the font.<br />

FONT_WEIGHT The weight of the font.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!