BevelWidth Property (AButton)

Returns or sets the width of the three-dimensional effect on the object.

Syntax

Object.BevelWidth [ = nBevelWidth ]

The BevelWidth property syntax has the following parts:

 

Name

Type

Description

Object

AButton

AButton control

nBevelWidth

Short

An integer specifying the height, width, or three-dimensional shadow effect of the bevel, in pixels. The value may be from zero up to 20 pixels.

Comments

When Theme is set to Windows Theme, BevelWidth value is ignored.

Example

The following statement changes the AButton's BevelWidth to 4 pixels wide all around the focus area of the button

btn1.BevelWidth=4

Applies to

AButton

See Also

CaptionWidth, PictureWidth, Shape