Shape Property (AButton)

Returns or sets the shape of the object.

Syntax

Object.Shape [ = enShape ]

The Shape property syntax has the following parts:

 

Name

Type

Description

Object

AButton

AButton control

enShape

enumAButtonShape

An integer specifying the type of alignment of the picture

Where

enumAButtonShape can be one of the following:

 

Name

Value

Description

abtnRectangle

0 *

The button will have a rectangular shape.

abtnRoundedRectangle

1

The button will have a rounded rectangle shape.

abtnEllipse

2

The button will have an elliptical shape.

Example

The following statement changes the AButton's Shape to an ellipse:

btn1.Shape=abtnEllipse

Applies to

AButton

See Also

 

Picture