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.

406<br />

VISIBLE Specify PROPERTY_TRUE constant if you want the radio<br />

button to be displayed. Specify PROPERTY_FALSE constant if you want<br />

the radio button to be hidden.<br />

VISUAL_ATTRIBUTE Specifies either a valid named visual attribute<br />

that exists in the current form, or the name of a logical attribute definition in<br />

a runtime resource file that you want <strong>Form</strong> <strong>Builder</strong> to apply to the radio<br />

button.<br />

WHITE_ON_BLACK Specifies that the object is to appear on a<br />

monochrome bitmap display device as white text on a black background.<br />

WIDTH Specify the width of the given radio button. Specify the value as<br />

a number.<br />

X_POS Specify the x-coordinate for the radio button. Specify the value as<br />

a number.<br />

Y_POS Specify the y-coordinate for the radio button. Specify the value as<br />

a number.<br />

value Specifies a NUMBER or a VARCHAR2 value. The data type of the value<br />

you enter is determined by the data type of the property you specified. If<br />

you enter a VARCHAR2 value, you must enclose it in quotes, unless you<br />

reference a text item or variable.<br />

PROPERTY_TRUE Specifies that the property is to be set to the TRUE<br />

state.<br />

PROPERTY_FALSE Specifies that the property is to be set to the<br />

FALSE state.<br />

x Specifies the first numeric value for the ITEM_SIZE and POSITION<br />

properties.<br />

y Specifies the second numeric value for the ITEM_SIZE and POSITION<br />

properties.<br />

SET_RADIO_BUTTON_PROPERTY examples<br />

/*<br />

** Built-in: SET_RADIO_BUTTON_PROPERTY<br />

** Example: Set a particular radio button to disabled.<br />

*/<br />

BEGIN<br />

Set_Radio_Button_Property(’MYBLOCK.FLIGHT_STATUS’,<br />

’GROUNDED’,ENABLED,PROPERTY_FALSE);<br />

END;

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

Saved successfully!

Ooh no, something went wrong!