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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

GET_RADIO_BUTTON_PROPERTY built-in<br />

Description<br />

Returns information about a specified radio button.<br />

Syntax<br />

FUNCTION GET_RADIO_BUTTON_PROPERTY<br />

(item_id ITEM,<br />

button_name VARCHAR2,<br />

property NUMBER);<br />

FUNCTION GET_RADIO_BUTTON_PROPERTY(<br />

item_name VARCHAR2,<br />

button_name VARCHAR2,<br />

property NUMBER);<br />

Built-in Type unrestricted function<br />

Returns VARCHAR2<br />

Enter Query Mode yes<br />

Parameters<br />

item_id Specifies the radio group item ID. <strong>Form</strong> <strong>Builder</strong> assigns the unique ID at<br />

the time it creates the object. Use the FIND_ITEM built-in to return the<br />

ID to an appropriately typed variable. The data type of the ID is ITEM.<br />

item_name Specifies the name of the radio group. The radio group is the owner or<br />

parent of its subordinate radio buttons. The data type of the name is<br />

VARCHAR2.<br />

button_name Specifies the name of the radio button whose property you want. The data<br />

type of the name is VARCHAR2.<br />

property Specifies the property for which you want the current state. The possible<br />

property constants you can indicate are as follows:<br />

212<br />

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

ENABLED Returns the VARCHAR2 string TRUE if property is set to<br />

Yes, and the VARCHAR2 string FALSE if property is set to No.<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.

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

Saved successfully!

Ooh no, something went wrong!