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.

• SET_WINDOW_PROPERTY<br />

• SET_VIEW_PROPERTY<br />

• SET_ITEM_PROPERTY<br />

General Usage Notes:<br />

• If you want all items on your form to default to the natural writing direction specified by the<br />

language environment variable, set Language Direction at the <strong>Form</strong> level to Default, and allow all<br />

other Direction properties to be Default, as well.<br />

• In most cases, the Default setting will provide the functionality you need. Occasionally, however,<br />

you may want to override the default by setting the Direction property for a specific object that<br />

needs to be displayed differently from the higher-level Direction property. For example, you may<br />

want to have most items on a canvas inherit their Direction from the canvas Direction property, but<br />

in the case of a specific text item, you might set the Direction property to override the default.<br />

• If you are developing a bilingual application and need to display both Local and Roman menus,<br />

create a trigger to display the correct version of the menu based on the USER_NLS_LANG property<br />

of the GET_APPLICATION_PROPERTY built-in.<br />

• Follow these guidelines when choosing a Direction property value:<br />

• If you are developing a bilingual application and want to display a Local object in Right-To-Left<br />

mode and a Roman object in Left-To-Right, use the Default value.<br />

• If the object is normally composed of Local text, choose the Right-To-Left value.<br />

• If the object is normally composed of Roman text, choose the Left-To-Right value.<br />

Direction (Alert)<br />

Specifies the layout direction of the alert interface items, including the reading order of the text displayed<br />

within the alert window.<br />

Direction (Button)<br />

Specifies the reading order of button text and the initial keyboard state when the button receives input<br />

focus.<br />

Direction (Canvas)<br />

Specifies the layout direction of the canvas, including:<br />

• layout direction used in the Layout Editor<br />

• point of origin (for Right-to-Left, point of origin is top right corner; for Left-to-Right, point of origin<br />

is top left corner)<br />

• display of rulers and scrollbars<br />

• reading order of boilerplate text<br />

Canvas Usage Notes:<br />

• Refer to the Usage Notes for the form-level Direction property to determine which value to choose.<br />

• To develop an application with blocks laid out in different directions, place each block on a<br />

different canvas. This will provide:<br />

• automatic layout of blocks in the canvas Direction property<br />

670

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

Saved successfully!

Ooh no, something went wrong!