Supplying property values

Each property has its own set of property values that you can use to specify the true and false conditions in the If expression. Usually you specify a number to indicate what you want. For example, if you are working with the Border property, you use the number 0, 1, 2, 3, 4, 5, or 6 to specify a border.

Table 9-1 summarizes the properties available. A detailed description of each property follows the table. For a complete list of properties for each control, see the online Help.

In the Properties window, property names display without dots and underscores, and properties with dots, such as font.escapement, display in a tree view. Expand the font node to set the escapement property.

Table 9-1: Properties for controls in the DataWindow painter

Property

Category

Description

Background.Color

Appearance

Background color of a control

Border

Appearance

Border of a control

Brush.Color

Appearance

Color of a graphic control

Brush.Hatch

Appearance

Pattern used to fill a graphic control

Color

Appearance

Color of text for text controls, columns, and computed fields; background color for the DataWindow object; line color for graphs

Font.Escapement (for rotating controls)

Appearance

Rotation of a control

Font.Height

Appearance

Height of text

Font.Italic

Appearance

Use of italic font for text

Font.Strikethrough

Appearance

Use of strikethrough for text

Font.Underline

Appearance

Use of underlining for text

Font.Weight

Appearance

Weight (for example, bold) of text font

Format

Behavior

Display format for columns and computed fields

Height

Layout

Height of a control

Pen.Color

Appearance

Color of a line or the line surrounding a graphic control

Pen.Style

Appearance

Style of a line or the line surrounding a graphic control

Pen.Width

Appearance

Width of a line or the line surrounding a graphic control

Pointer

Appearance

Image to be used for the pointer

Protect

General

Whether a column can be edited

Timer_Interval

General

How often time fields are to be updated

Visible

General

Whether a control is visible

Width

Layout

Width of a control

X

Layout

X position of a control

X1, X2

Layout

X coordinates of either end of a line

Y

Layout

Y position of a control relative to the band in which it is located

Y1, Y2

Layout

Y coordinates of either end of a line