Windows, other controls
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.
Select the Border check box on the General page of the window’s or control’s Properties view.
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!