The type of border for the control.
Border on the General page in the Properties view.
A number that specifies the type of border. Values are:
0
—None
1
—Shadow
box
2
—Box
3
—Resize
(not supported on the Windows CE platform)
4
—Underline
5
—3D
Lowered
6
—3D
Raised
The following statement specifies that if the person represented by the current row has a status of L (on leave), the status column displays with a Shadow box border:
If(status = 'L', 1, 0)
In this example, the condition is applied to the Border property of the status column. Figure 23-10 is a portion of the resulting DataWindow object. Notice that the Leave status displays with a Shadow box border.
Figure 23-10: DataWindow with a conditional Shadow box border
About the value L and the value On Leave The status column uses an edit style. The internal value for on leave is L and the display value is Leave. The conditional expression references the internal value L, which is the actual value stored in the database. The DataWindow object shows the value Leave, which is the display value assigned to the value L in the code table for the Status edit style.