Line Object [Access 2003 VBA Language Reference]


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.

Properties | BorderColor Property | BorderStyle Property | BorderWidth Property | ControlType Property | DisplayWhen Property | EventProcPrefix Property | Height Property | InSelection Property | IsVisible Property | Left Property | LineSlant Property | Name Property | OldBorderStyle Property | Properties Property | Section Property | SpecialEffect Property | Tag Property | Top Property | Visible Property | Width Property

Methods | Move Method | SizeToFit Method

Parent Objects

Child Objects | Properties Object