BorderStyle Property (AForm)

Returns the style of the border of the object.

Syntax

[ 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

Where

enumAFormBorderStyle:

 

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

Comments

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.

Example

The following statement returns the AForm border style:

lFrm1BorderStyle = frm1.BorderStyle

Applies to

AForm

See Also

DrawStyle, FillStyle