Specifies the border style of an object. Available at design time and run time.
|
---|
Object.BorderStyle[ = nStyle] |
Return Value
-
nStyle
-
For a CommandGroup, ComboBox, EditBox, Image, Label, OptionGroup, Spinner, or TextBox control, the settings for the BorderStyle property are:
Setting
|
Description
|
0
|
None. Default for Image and Label controls.
|
1
|
Fixed Single. Default for CommandGroup, EditBox, OptionGroup, and TextBox controls.
|
For a line or shape, the settings for the BorderStyle property are:
Setting
|
Description
|
0
|
Transparent
|
1
|
(Default) Solid. The outer edge of the border is the outer edge of the Shape control.
|
2
|
Dash
|
3
|
Dot
|
4
|
Dash-Dot
|
5
|
Dash-Dot-Dot
|
6
|
Inside Solid
|
For a Form object, the settings for the BorderStyle property are:
Setting
|
Description
|
0
|
No border
|
1
|
Fixed Single
|
2
|
Fixed Dialog
|
3
|
(Default) Sizable
|
Remarks
See Also