Returns the style of the border of the object.
[ enBorderStyle = ] Object.BorderStyle
The BorderStyle property syntax has the following parts:
Name |
Type |
Description |
Object |
AForm |
AForm object |
enBorderStyle |
enumAFormBorderStyle |
An integer specifying the style of the border around an AForm object |
Name |
Value |
Description |
aformBorderStyleNone |
0 |
None |
aformBorderStyleFixedSingle |
1 |
Fixed-Single |
aformBorderStyleSizable |
2 |
Sizable |
aformBorderStyleFixedDouble |
3 |
Fixed-Double |
aformBorderStyleFixedToolWindow |
4 |
Fixed-ToolWindow |
aformBorderStyleSizableToolWindow |
5 |
Sizable-ToolWindow |
This property can be set at design time and is read-only at run time.
This property is not available for MDI Form type which uses the Sizable style by default.
The following statement returns the AForm border style:
lFrm1BorderStyle = frm1.BorderStyle