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.

368<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.<br />

FOREGROUND_COLOR The color of the object’s foreground region.<br />

For items, the Foreground Color attribute defines the color of text displayed<br />

in the item.<br />

HEIGHT The height of the canvas in characters.<br />

TOPMOST_TAB_PAGE The name of the tab page that will appear to<br />

operators as the top-most (i.e., overlaying all other tab pages in the tab<br />

canvas).<br />

VISUAL_ATTRIBUTE Either a valid named visual attribute that exists in<br />

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

resource file that you want <strong>Form</strong> <strong>Builder</strong> to apply to the canvas.<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 The width of the canvas in characters.<br />

value The VARCHAR2 value to be applied to the property you specified.<br />

x The NUMBER value of the x coordinate or the width, depending on the<br />

property you specified. Specify the argument in form coordinate system<br />

units.<br />

y The NUMBER value of the y coordinate or the height, depending on the<br />

property you specified. Specify the argument in form coordinate system<br />

units.<br />

SET_CANVAS_PROPERTY restrictions<br />

• You cannot enter a non-existent named visual attribute.<br />

• If <strong>Form</strong> <strong>Builder</strong> cannot find a named visual attribute by the name you supply, it looks for the display<br />

attribute in your <strong>Oracle</strong>*Terminal resource file.<br />

SET_CANVAS_PROPERTY examples<br />

/* Change the "background color" by dynamically setting the<br />

** canvas color at runtime to the name of a visual attribute<br />

** you created:<br />

*/<br />

BEGIN<br />

SET_CANVAS_PROPERTY(’my_cvs’, visual_attribute, ’blue_txt’);<br />

END;

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

Saved successfully!

Ooh no, something went wrong!