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

GET_VA_PROPERTY Built-in

Description

Returns visual attribute property values for the specified property.

Syntax

FUNCTION GET_VA_PROPERTY
(va_id VISUALATTRIBUTE,
property NUMBER);

FUNCTION GET_VA_PROPERTY
(va_name VARCHAR2,
property NUMBER);

Built-in Type unrestricted function

Returns VARCHAR2

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

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. For example, 8pt. would be 800.

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.