Table of contents
TOC
Collapse the table of content
Expand the table of content

Label Object (Access)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

This object corresponds to a label control. Labels on a form or report display descriptive text such as titles, captions, or brief instructions.

Remarks

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.

Control:Tool:

Label control

| Label tool

| 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.

Events

Name
Click
DblClick
MouseDown
MouseMove
MouseUp

Methods

Name
Move
SizeToFit

Properties

Name
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

See also

Other resources

Label Object MembersAccess Object Model Reference

© 2017 Microsoft