Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 1.59 KB

Access.OptionGroup.BorderWidth.md

File metadata and controls

44 lines (26 loc) · 1.59 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
OptionGroup.BorderWidth property (Access)
vbaac10.chm10844
vbaac10.chm10844
Access.OptionGroup.BorderWidth
520ed761-de5d-9e70-3cc8-79264f6c0f3f
02/20/2019
medium

OptionGroup.BorderWidth property (Access)

Use the BorderWidth property to specify the width of a control's border. Read/write Byte.

Syntax

expression.BorderWidth

expression A variable that represents an OptionGroup object.

Remarks

The BorderWidth property uses the following settings.

Setting Visual Basic Description
Hairline 0 (Default) The narrowest border possible on your system.
1 pt to 6 pt 1 to 6 The width as indicated in points.

You can set the default for this property by using the control's default control style or the DefaultControl property in Visual Basic.

To use the BorderWidth property, the SpecialEffect property must be set to Flat or Shadowed, and the BorderStyle property must not be set to Transparent. If the SpecialEffect property is set to any other value, and/or the BorderStyle property is set to Transparent, and you set the BorderWidth property, the SpecialEffect property is automatically reset to Flat, and the BorderStyle property is automatically reset to Solid.

The exact border width depends on your computer and printer. On some systems, the hairline and 1-point widths appear the same.

[!includeSupport and feedback]