Label Members (Access)
This object corresponds to a label control. Labels on a form or report display descriptive text such as titles, captions, or brief instructions.
Methods
Name |
Description |
---|---|
Moves the specified object to the coordinates specified by the argument values. |
|
You can use the SizeToFit method to size a control so it fits the text or image that it contains. |
Properties
Name |
Description |
---|---|
You can use the Application property to access the active Microsoft Access Application object and its related properties. Read-only Application object. |
|
Gets or sets the interior color of the specified object. Read/write Long. |
|
Gets or sets the shade applied to the theme color in the BackColor property of the specified object. Read/write Single. |
|
You can use the BackStyle property to specify whether a control will be transparent. Read/write Byte. |
|
Gets or sets a value that represents a color in the applied color theme associated with the BackColor property of the specified object. Read/write Long. |
|
Gets or sets the tint that is applied to the theme color in the BackColor property of the specified object. Read/write Single. |
|
You can use the BorderColor property to specify the color of a control's border. Read/write Long. |
|
Gets or sets the shade that is applied to the theme color in the BorderColor property of the specified object. Read/write Single. |
|
Specifies how a control's border appears.Read/write Byte. |
|
Gets or sets a value that represents a color in the applied color theme associated with the BorderColor property of the specified object. Read/write Long. |
|
Gets or sets the tint that is applied to the theme color in the BorderColor property of the specified object. Read/write Single. |
|
You can use the BorderWidth property to specify the width of a control's border. Read/write Byte. |
|
Along with the LeftMargin, RightMargin, and TopMargin properties, specifies the location of information displayed within a label control. Read/write Integer. |
|
Gets or sets the amount of space (in inches) between the label and its bottom gridline. Read/write Integer. |
|
Gets or sets the text that appears in the control. Read/write String. |
|
You can use the ControlTipText property to specify the text that appears in a ScreenTip when you hold the mouse pointer over a control. Read/write String. |
|
You can use the ControlType property in Visual Basic to determine the type of a control on a form or report. Read/write Byte. |
|
You can use the DisplayWhen property to specify which of a form's controls you want displayed on screen and in print. Read/write Byte. |
|
Gets or sets the prefix portion of an event procedure name. Read/write String. |
|
You can use the FontBold property to specify whether a font appears in a bold style in the following situations:
Read/write Boolean. |
|
You can use the FontItalic property to specify whether text is italic in the following situations:
Read/write Boolean. |
|
You can use the FontName property to specify the font for text in the following situations:
Read/write String. |
|
You can use the FontSize property to specify the point size for text in the following situations:
Read/write Integer. |
|
You can use the FontUnderline property to specify whether text is underlined in the following situations:
Read/write Boolean. |
|
You can use the DatasheetFontWeight property to specify the line width of the font used to display and print characters for field names and data in Datasheet view. Read/write Integer. |
|
You can use the ForeColor property to specify the color for text in a control. Read/write Long. |
|
Gets or sets the shade that is applied to the theme color in the ForeColor property of the specified object. Read/write Single. |
|
Gets or sets a value that represents a color in the applied color theme associated with the ForeColor property of the specified object. Read/write Long. |
|
Gets or sets the tint that is applied to the theme color in the ForeColor property of the specified object. Read/write Single. |
|
Gets or sets the color of the gridline for the specified label. Read/write Long. |
|
Gets or sets the shade applied to the theme color in the GridlineColor property of the specified object. Read/write Single. |
|
Gets or sets the bottom gridline style of the specified label. Read/write Byte. |
|
Gets or sets the width of the bottom gridline for the specified label. Read/write Byte. |
|
Gets or sets the right gridline style of the specified label. Read/write Byte. |
|
Gets or sets the top gridline style of the specified label. Read/write Byte. |
|
Gets or sets the theme color index that represents a color in the applied color theme associated with the GridlineColor property of the specified object. Read/write Long. |
|
Gets or sets the tint applied to the theme color in the GridlineColor property of the specified object. Read/write Single. |
|
Gets or sets the width of the bottom gridline for the specified label. Read/write Byte. |
|
Gets or sets the width of the left gridline for the specified label. Read/write Byte. |
|
Gets or sets the width of the right gridline for the specified label. Read/write Byte. |
|
Gets or sets the width of the top gridline for the specified label. Read/write Byte. |
|
Gets or sets the height of the specified object in twips. Read/write Integer. |
|
The HelpContextID property specifies the context ID of a topic in the custom Help file specified by the HelpFile property setting. Read/write Long. |
|
Gets or sets an AcHorizontalAnchor constant that indicates how the label is anchored horizontally within its layout. Read/write. |
|
You can use the Hyperlink property to return a reference to a Hyperlink object. You can use the Hyperlink property to access the properties and methods of a control's hyperlink. Read-only. |
|
You can use the HyperlinkAddress property to specify or determine the path to an object, document, Web page or other destination for a hyperlink associated with a the specified control. Read/write String. |
|
You can use the HyperlinkSubAddress property to specify or determine a location within the target document specified by the HyperlinkAddress property. Read/write String. |
|
You can use the InSelection property to determine or specify whether a control on a form in Design view is selected. Read/write Boolean. |
|
You can use the IsVisible property in to determine whether a control on a report is visible. Read/write Boolean. |
|
Returns the type of layout for the specified label. Read-only AcLayoutType. |
|
Returns the unique identifier for the layout that contains the specified label. Read-only Long. |
|
You can use the Left property to specify an object's location on a form or report. Read/write Integer. |
|
Along with the TopMargin, RightMargin, and BottomMargin properties, specifies the location of information displayed within a label control. Read/write Integer. . |
|
Gets or sets the amount of space (in inches) between the label and its left gridline. Read/write Integer. |
|
You can use the LineSpacing property to specify or determine the location of information displayed within a label or text box control. Read/write Integer. |
|
You can use the Name property to specify or determine the string expression that identifies the name of an object. Read/write String. |
|
You can use the NumeralShapes property to specify or determine numeral shapes to be displayed and printed in a combo box, label, list box, or text box. Read/write Byte. |
|
You can use this property to set or returns the unedited value of the BorderStyle property for a form or control. This property is useful if you need to revert to an unedited or preferred border style. Read/write Byte. |
|
Sets or returns the value of the On Click box in the Properties window. Read/write String. |
|
Sets or returns the value of the On Dbl Click box in the Properties window. Read/write String. |
|
Sets or returns the value of the On Mouse Down box in the Properties window. Read/write String. |
|
Sets or returns the value of the On Mouse Move box in the Properties window. Read/write String. |
|
Sets or returns the value of the On Mouse Up box in the Properties window. Read/write String. |
|
Returns the parent object for the specified object. Read-only. |
|
Returns a reference to a control's Properties collection object. Read-only. |
|
You can use the ReadingOrder property to specify or determine the reading order of words in text. Read/write Byte. |
|
Along with the TopMargin, Left Margin, and BottomMargin properties, specifies the location of information displayed within a label control. Read/write Integer. |
|
Gets or sets the amount of space (in inches) between the label and its right gridline. Read/write Integer. |
|
You can identify these controls by the section of a form or report where the control appears. Read/write Integer. |
|
You can use the ShortcutMenuBar property to specify the shortcut menu that will appear when you right-click on the specified object. Read/write String. |
|
Returns a SmartTags collection that represents the collection of smart tags that have been added to a control. . |
|
You can use the SpecialEffect property to specify whether special formatting will apply to the specified object. Read/write Byte. |
|
Stores extra information about a form, report, section, or control needed by a Microsoft Access application. Read/write String. |
|
The TextAlign property specifies the text alignment in new controls. Read/write Byte. |
|
Gets or sets the font index that represents a font in the applied theme associated with the FontName property of the specified object. Read/write Long. |
|
You can use the Top property to specify an object's location on a form or report. Read/write Integer. . |
|
Along with the LeftMargin, RightMargin, and BottomMargin properties, specifies the location of information displayed within a label control. Read/write Integer. |
|
Gets or sets the amount of space (in inches) between the label and its top gridline. Read/write Integer. |
|
You can use the Vertical property to set a form control for vertical display and editing or set a report control for vertical display and printing. Read/write Boolean. |
|
Gets or sets an AcVerticalAnchor constant that indicates how the specified label is anchored vertically within its layout. Read/write. |
|
Returns or sets whether the object is visible. Read/write Boolean. |
|
Gets or sets the width of the specified object in twips. Read/write Integer. |
Events
Name |
Description |
---|---|
The Click event occurs when the user presses and then releases a mouse button over an object. |
|
The DblClick event occurs when the user presses and releases the left mouse button twice over an object within the double-click time limit of the system. |
|
The MouseDown event occurs when the user presses a mouse button. |
|
The MouseMove event occurs when the user moves the mouse. |
|
The MouseUp event occurs when the user releases a mouse button. |