Rectangle Object [Access 2003 VBA Language Reference]


This object corresponds to a rectangle control. The rectangle control displays a rectangle on a form or report.

Control: Tool:
Control Control

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

You can move a rectangle and the controls in it as a single unit by dragging the mouse pointer diagonally across the entire rectangle to select all of the controls. The entire selection can then be moved to a new position.

Properties | BackColor Property | BackStyle Property | BorderColor Property | BorderStyle Property | BorderWidth Property | ControlType Property | DisplayWhen Property | EventProcPrefix Property | Height Property | InSelection Property | IsVisible Property | Left Property | Name Property | OldBorderStyle Property | OnClick Property | OnDblClick Property | OnMouseDown Property | OnMouseMove Property | OnMouseUp Property | Properties Property | Section Property | SpecialEffect Property | Tag Property | Top Property | Visible Property | Width Property

Methods | Move Method | SizeToFit Method

Events | Click Event | DblClick Event | MouseDown Event | MouseMove Event | MouseUp Event

Parent Objects

Child Objects | Properties Object