BorderWidth Property

Applies to TestComplete 15.63, last modified on April 23, 2024

Declaration

componentObj.BorderWidth
Read-Write Property Integer
componentObj     One of the user forms components and objects listed in the Applies To section  

Applies To

The property applies to the following components and objects:

TcxProgressBarProperties, TPanel

Description

The meaning of the BorderWidth property depends on which object is applied.

TcxProgressBarProperties.BorderWidth

BorderWidth specifies the distance in pixels between the control’s borders and the area where the progress bar is drawn, for a TcxProgressBar component. Using this property you can control whether the progress bar is drawn on the whole client area or on a part. If a non-zero value nn is assigned to BorderWidth then the progress bar is drawn within a nn-pixel frame. The BorderWidth property cannot be set to negative values. The default value is 0.

TPanel.BorderWidth

For a TPanel component, BorderWidth specifies the width of both outer and inner bevels, in pixels. If both bevels do not appear (that is, both BevelOuter and BevelInner properties are “bvNone”), the BorderWidth property has no effect.

To get or set the distance between bevels, use the BevelWidth property.

To remove both outer and inner bevels, set BevelOuter and BevelInner to “bvNone”.

Property Value

An integer value greater or equal to 0.

See Also

BevelInner Property
BevelOuter Property
BevelWidth Property

Highlight search results