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.

Coordinate System property<br />

Description<br />

Specifies whether object size and position values should be interpreted as character cell values, or as real<br />

units (centimeters, inches, pixels, or points). The following settings are valid for this property:<br />

Character Sets the coordinate system to a character cell-based measurement. The<br />

actual size and position of objects will depend on the size of a default<br />

character on your particular platform.<br />

Real Sets the coordinate system to the unit of measure specified by the Real Unit<br />

property (centimeters, inches, pixels, or points.)<br />

Changing the coordinate system for the form changes the ruler units displayed on <strong>Form</strong> Editor rulers, but<br />

does not change the grid spacing and snap-points settings.<br />

Applies to form<br />

Set <strong>Form</strong> <strong>Builder</strong><br />

Default<br />

Centimeter<br />

Usage Notes<br />

The coordinate system you select is enforced at design time and at runtime. For example, if you<br />

programmatically move a window with SET_WINDOW_PROPERTY, the position coordinates you pass<br />

to the built-in are interpreted in the current form coordinate units.<br />

When you convert from one coordinate system to another, <strong>Form</strong> <strong>Builder</strong> automatically converts object<br />

size and position values that were specified declaratively at design time. Loss of precision can occur<br />

when you convert to less precise units.<br />

If portability is a concern, setting the Coordinate System to Character provides the most portable unit<br />

across platforms, but sets a coarse grid that reduces the ability to fine-tune the layout. If your application<br />

runs in both character-mode and GUI, the decision about which coordinate system to use depends on<br />

which interface style you want to optimize.<br />

If you want to optimize for GUIs, the Real setting provides maximum flexibility for proportional fonts,<br />

but may require some fine-tuning to avoid overlapping fields on the character-mode side.<br />

If you want to optimize for character-mode, choose the Character setting. This setting provides less<br />

flexibility for the proportional fonts used on GUIs, but lets you line up character cell boundaries exactly.<br />

For this type of application... Set Coordinate System to...<br />

GUI only Real: inches, centimeters, or points<br />

Character-mode only Character<br />

Mixed character-mode and GUI:<br />

616

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

Saved successfully!

Ooh no, something went wrong!