Rectangle object (Access)
This object corresponds to a rectangle control. The rectangle control displays a rectangle on a form or report.
Remarks
Control | Tool |
---|---|
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 the controls. The entire selection can then be moved to a new position.
Events
Methods
Properties
- Application
- BackColor
- BackShade
- BackStyle
- BackThemeColorIndex
- BackTint
- BorderColor
- BorderShade
- BorderStyle
- BorderThemeColorIndex
- BorderTint
- BorderWidth
- ControlType
- DisplayWhen
- EventProcPrefix
- Height
- HorizontalAnchor
- InSelection
- IsVisible
- Left
- Name
- OldBorderStyle
- OnClick
- OnDblClick
- OnMouseDown
- OnMouseMove
- OnMouseUp
- Parent
- Properties
- Section
- SpecialEffect
- Tag
- Top
- VerticalAnchor
- Visible
- Width
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.