About attaching labels to controls

Microsoft Office Access 2003

Show All Show All

About attaching labels to controls

The feature described in this Help topic is only available if support for right-to-left languages is enabled through Microsoft Office Language Settings.

In addition, to enable the right-to-left features in Microsoft Access, you must be running a 32-bit Microsoft Windows operating system that has right-to-left support— for example, the Arabic version of Microsoft Windows 2000.

Labels are automatically created and attached to most controls. Label placement is determined by the Orientation property setting for the parent form at the time you create the label. If the Orientation property is set to right-to-left, the label is placed to the right of the control. If the Orientation property is set to left-to-right, the label is placed to the left of the control.

Properties for a label attached to a control, except TextAlign, are inherited from default label control properties. TextAlign for an attached label is inherited from the LabelAlign property in the parent control (for example, text box, option group, toggle button, option button, check box, combo box, list box, subform/subreport, bound object frame, or command button). LabelAlign, which specifies the alignment of text within a label, exists only as a parent property until the control is created. Thereafter, it is available as TextAlign in the label control attached to the parent control.