Border

Applies to

Windows, other controls

Description

When the Border property is enabled, the window or control has a border.

Some controls and window types always have borders, whether or not the Border property is enabled.

Usage

In a painter

To specify a border:

  • Select the Border check box on the General page of the window's or control's Properties view.

In scripts

The Border property takes a boolean value. The following example specifies that a static text control should display a border and sets the border style to 3D Lowered:

st_1.Border = TRUE
st_1.BorderStyle = StyleLowered!