Visual Basic Reference

Visual Studio 6.0

BorderStyle Property (ActiveX Controls)

See Also   Example   Applies To

Returns or sets the border style for an object.

Syntax

object.BorderStyle = [value]

The BorderStyle property syntax has these parts:

Part Description
Object An object expression that evaluates to an object in the Applies To list.
Value A value or constant that determines the border style, as described in Settings.

Settings

The BorderStyle property settings are:

Constant Setting Description
XxNone 0 None (no border or border-related elements).
XxFixedSingle 1 Fixed Single.

Note   Constants for ActiveX controls are prefaced by two letters which are specific to the control. For example, the Windows Common Controls use ccNone. In some cases, constants are totally changed. For example the MSChart control uses vtBorderStyleNone. However, the description remains the same unless indicated.

Show: