Bound Object Frame Control, Chart Control, Combo Box Control, Label Control, Line Control, Option Group Control, Rectangle Control, Text Box Control, Unbound Object Frame Control.
You use the BorderLineStyle property to specify the line style of a controls border.
Note The BorderLineStyle property is included in this version of Microsoft Access only for compatibility with previous versions. Use the BorderStyle property to specify how a controls border will appear.
The BorderLineStyle property uses the following settings.
Setting | Description | Visual Basic |
Solid | (Default) Solid line | 0 |
Dashes | Dashed line | 1 |
Short Dashes | Dashed line with short dashes | 2 |
Dots | Dotted line | 3 |
Sparse Dots | Dotted line with dots spaced far apart | 4 |
Dash Dot | Line with a dash-dot combination | 5 |
Dash Dot Dot | Line with a dash-dot-dot combination | 6 |
You can set this property using the controls property sheet, a macro, or Visual Basic.
You can use this property to customize the look of your controls.
Note The BorderLineStyle property isnt the same as the BorderStyle property, which determines whether a controls border is transparent or visible.
BorderColor Property, BorderStyle Property, BorderWidth Property.
You can use the following code to create a dotted border for a text box.
conDots = 3![frmCustomers]![txtLastName].BorderLineStyle = conDots