BorderStyle

Applies to

Most controls

Description

The BorderStyle property lets you define the border appearance of a control. Styles include 3D Lowered, 3D Raised, Box, and Shadow Box.

Usage

In a painter

To set the border style:

  • Select the desired style from the BorderStyle list on the General page of the control's Properties view.

    To turn the border off, uncheck the Border check box on the General page.

In scripts

To change the appearance of the border, set Border to true and set the BorderStyle property to a value of the BorderStyle enumerated datatype.

The following example sets the border for a DropDownListBox.

ddlb_1.Border = TRUE
ddlb_1.BorderStyle = StyleLowered!