Line Object

Microsoft Access Visual Basic

Line Object

         
Line Properties

The line control displays a horizontal, vertical, or diagonal line on a form or report.

Note   This control should not be confused with the Dynamic HTML line control used on a data access page. For information about a line control on a data access page, see Line Control (Data Access Pages).

Using the Line object

You can use the BorderWidth property to change the line width. You can use the BorderColor property to change the color of the border or make it transparent. You can change the line style (dots, dashes, and so on) of the border by using the BorderStyle property.