Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.53 KB

Access.ToggleButton.BorderStyle.md

File metadata and controls

49 lines (32 loc) · 1.53 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ToggleButton.BorderStyle property (Access)
vbaac10.chm10204
vbaac10.chm10204
Access.ToggleButton.BorderStyle
339bfae9-4320-565c-c299-eb92bc28e4f0
02/20/2019
medium

ToggleButton.BorderStyle property (Access)

Specifies how a control's border appears. Read/write Byte.

Syntax

expression.BorderStyle

expression A variable that represents a ToggleButton object.

Remarks

For controls, the BorderStyle property uses the following settings.

Setting Visual Basic Description
Transparent 0 (Default only for label, chart, and subreport) Transparent
Solid 1 (Default) Solid line
Dashes 2 Dashed line
Short dashes 3 Dashed line with short dashes
Dots 4 Dotted line
Sparse dots 5 Dotted line with dots spaced far apart
Dash dot 6 Line with a dash-dot combination
Dash dot dot 7 Line with a dash-dot-dot combination
Double solid 8 Double solid lines

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

A control's border style is visible only when its SpecialEffect property is set to Flat or Shadowed. If the SpecialEffect property is set to something other than Flat or Shadowed, setting the BorderStyle property changes the SpecialEffect property setting to Flat.

[!includeSupport and feedback]