Table of contents
Collapse the table of content
Expand the table of content

WebBrowserControl.BorderStyle Property (Access)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

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


expression. BorderStyle

expression A variable that represents a WebBrowserControl object.


For controls, the BorderStyle property uses the following settings.

SettingVisual BasicDescription
Transparent0(Default only for label, chart, and subreport) Transparent
Solid1(Default) Solid line
Dashes2Dashed line
Short dashes3Dashed line with short dashes
Dots4Dotted line
Sparse dots5Dotted line with dots spaced far apart
Dash dot6Line with a dash-dot combination
Dash dot dot7Line with a dash-dot-dot combination
Double solid8Double 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.

See also


WebBrowserControl Object

© 2018 Microsoft