Border

Description

The type of border for the control.

In the editor

Border on the General page in the Properties view.

Value

A number that specifies the type of border. Values are:

Example

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.

The following is a portion of the resulting DataWindow object. Notice that the status On Leave displays with a Shadow box border:

The sample shows what happens when the condition of on leave status is applied to the Border property of the status column. In the sample DataWindow object, for rows where the Status displayed is On Leave, a shadow box border outlines the words On Leave.

NoteAbout 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 On Leave. The conditional expression references the internal value L, which is the actual value stored in the database. The DataWindow object shows the value On Leave, which is the display value assigned to the value L in the code table for the Status edit style.