Label object (Access)
This object corresponds to a label control. Labels on a form or report display descriptive text such as titles, captions, or brief instructions.
Control | Tool |
---|---|
Labels have certain characteristics:
- Labels don't display values from fields or expressions.
- Labels are always unbound.
- Labels don't change as you move from record to record.
A label can be attached to another control. When you create a text box, for example, it has an attached label that displays a caption for that text box. This label appears as a column heading in the Datasheet view of a form.
When you create a label by using the Label tool, the label stands on its own—it isn't attached to any other control. You use stand-alone labels for information such as the title of a form or report or for other descriptive text. Stand-alone labels don't appear in Datasheet view.
- Application
- BackColor
- BackShade
- BackStyle
- BackThemeColorIndex
- BackTint
- BorderColor
- BorderShade
- BorderStyle
- BorderThemeColorIndex
- BorderTint
- BorderWidth
- BottomMargin
- BottomPadding
- Caption
- ControlTipText
- ControlType
- DisplayWhen
- EventProcPrefix
- FontBold
- FontItalic
- FontName
- FontSize
- FontUnderline
- FontWeight
- ForeColor
- ForeShade
- ForeThemeColorIndex
- ForeTint
- GridlineColor
- GridlineShade
- GridlineStyleBottom
- GridlineStyleLeft
- GridlineStyleRight
- GridlineStyleTop
- GridlineThemeColorIndex
- GridlineTint
- GridlineWidthBottom
- GridlineWidthLeft
- GridlineWidthRight
- GridlineWidthTop
- Height
- HelpContextId
- HorizontalAnchor
- Hyperlink
- HyperlinkAddress
- HyperlinkSubAddress
- InSelection
- IsVisible
- Layout
- LayoutID
- Left
- LeftMargin
- LeftPadding
- LineSpacing
- Name
- NumeralShapes
- OldBorderStyle
- OnClick
- OnDblClick
- OnMouseDown
- OnMouseMove
- OnMouseUp
- Parent
- Properties
- ReadingOrder
- RightMargin
- RightPadding
- Section
- ShortcutMenuBar
- SmartTags
- SpecialEffect
- Tag
- TextAlign
- ThemeFontIndex
- Top
- TopMargin
- TopPadding
- Vertical
- VerticalAnchor
- Visible
- Width
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.