BorderStyle Constants

The following table shows the form BorderStyle property constants you can use anywhere in your code in place of actual values.

Constant
Value
Description
vbBSNone 0 No border
vbFixedSingle 1 Fixed single
vbSizable 2 Sizable (forms only)
vbFixedDialog 3 Fixed dialog (forms only)
vbFixedToolWindow 4 Fixed tool window
vbSizableToolWindow 5 Sizable tool window

The following table shows the shape and line BorderStyle property constants you can use anywhere in your code in place of actual values.

Constant
Value
Description
vbTransparent 0 Transparent
vbBSSolid 1 Solid
vbBSDash 2 Dash
vbBSDot 3 Dot
vbBSDashDot 4 Dash-dot
vbBSDashDotDot 5 Dash-dot-dot
vbBSInsideSolid 6 Inside solid