Partager via


BorderWidth Property

Specifies the width of a control's border. Available at design time and run time.

Control.BorderWidth[ = nWidth]

Property Values

  • nWidth
    Specifies the width, which can range from 0 to 8192.

    Note   If the BorderWidth setting is greater than 1, the BorderStyle property setting is ignored.

Remarks

When BorderWidth is set to 0, the control appears to have no border. You cannot change the BorderWidth setting for the PageFrame control.

See Also

BorderStyle Property

Applies To: Container Object | Control Object | Line Control | PageFrame Control | Shape Control