Specifies the border style of an object. Available at design time and run time.
Object.BorderStyle[ = nStyle] |
Return Value
- nStyle
-
For a CommandGroup, EditBox, Image, Label, OptionGroup, or TextBox control, the settings for the BorderStyle property are:
For a line or shape, 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 Form object, 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
Setting Description 0В В В
No border
1В В В
Fixed Single
2В В В
Fixed Dialog
3В В В
(Default) Sizable
Remarks
Applies To: ComboBox Control | CommandGroup Control | EditBox Control | Form Object | Image Control (Visual FoxPro) | Label Control (Visual FoxPro) | Line Control | OptionGroup Control | _SCREEN System Variable | Shape Control | TextBox Control (Visual FoxPro) | Spinner Control
If the BorderWidth property setting is greater than 1, regardless of the BorderStyle setting, a solid border is drawn. If BorderWidth is set to 1, BorderStyle produces the effects described in the tables above.