A script-enabled browser is required for this page to function properly.

SET_VA_PROPERTY Built-in

Description

Modifies visual attribute property values for the specified property.

Syntax

SET_VA_PROPERTY
(va_id VISUALATTRIBUTE,
property NUMBER,
value VARCHAR2);

SET_VA_PROPERTY
(va_name VARCHAR2,
property NUMBER,
value VARCHAR2);

SET_VA_PROPERTY
(va_id VISUALATTRIBUTE,
property NUMBER,
value NUMBER);

SET_VA_PROPERTY
(va_name VARCHAR2,
property NUMBER,
value NUMBER);

Built-in Type unrestricted function

Enter Query Mode yes

Parameters

va_id
 
The unique ID Oracle Forms assinged to the visual attribute when you created it. The data type is VISUALATTRIBUTE.
va_name
 
The name you gave the visual attribute when you created it. The data type is VARCHAR2.
 
Property value
 
Specify one of the following properties:

BACKGROUND_COLOR The color of the object's background region.

FILL_PATTERN The pattern to be used for the object's fill region. Patterns are rendered in the two colors specified by Background Color and Foreground Color.

FONT_NAME The font family, or typeface, that should be used for text in the object. The list of fonts available is system-dependent.

FONT_SIZE The size of the font, specified in hundreds of points.

FONT_SPACING The width of the font, that is, the amount of space between characters (kerning).

FONT_STYLE The style of the font.

FONT_WEIGHT The weight of the font.

FOREGROUND_COLOR The color of the object's foreground region. For items, the Foreground Color attribute defines the color of text displayed in the item.

Specify the value to be applied to the given property. The data type of the property determines the data type of the value you enter. For instance, if you want to change the FONT_NAME for the item, specify the value, in other words, the label, as a VARCHAR2 string.

PROPERTY_TRUE Specifies that the property is to be set to the TRUE state.

PROPERTY_FALSE Specifies that the property is to be set to the FALSE state.

If you want to reset the value of the property to the value originally established for it at design time, enter two single quotes '' with no space between. For example, SET_VA_PROPERTY('OVERDRAWN', FONT_SIZE, ''); resets that format size to its design-time value.