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 24-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.
Valid values of properties are shown in parenthesesin the Properties view wherever possible.
For example, the drop-down list showing border selections
includes the correct number for specifying each border in parentheses
after the name of the border (ShadowBox (1), Underline (4)).
|
Property |
Painter |
Description |
|---|---|---|
|
Background Color on Background page or |
Background color of a control |
|
|
Border on General page |
Border of a control |
|
|
Brush Color on General page |
Color of a graphic control |
|
|
Brush Hatch on General page |
Pattern used to fill a graphic control |
|
|
Text Color on Font page; Color on General |
Color of text for text controls, columns, |
|
|
Escapement on Font page |
Rotation of a control |
|
|
Size on Font page |
Height of text |
|
|
Italic on Font page |
Use of italic font for text |
|
|
Strikeout on Font page |
Use of strikethrough for text |
|
|
Underline on Font page |
Use of underlining for text |
|
|
Bold on Font page |
Weight (for example, bold) of text font |
|
|
Format on Format page |
Display format for columns and computed |
|
|
Height on Position page |
Height of a control |
|
|
Pen Color on General page |
Color of a line or the line surrounding |
|
|
Pen Style on General page |
Style of a line or the line surrounding |
|
|
Pen Width on General page |
Width of a line or the line surrounding |
|
|
Pointer on Pointer page |
Image to be used for the pointer |
|
|
Protect on General page |
Whether a column can be edited |
|
|
Timer Interval on General page |
How often time fields are to be updated |
|
|
Visible on General page |
Whether a control is visible |
|
|
Width on Position page |
Width of a control |
|
|
X on Position page |
X position of a control |
|
|
X1, X2 on Position page |
X coordinates of either end of a line |
|
|
Y on Position page |
Y position of a control relative to the |
|
|
Y1, Y2 on Position page |
Y coordinates of either end of a line |