ACC97: Label Shows ControlTip Text of Associated Text Box
ID: Q181338
|
The information in this article applies to:
SYMPTOMS
Novice: Requires knowledge of the user interface on single-user computers.
When a text box and a label are associated on a form (as they are by
default when you add a text box) and you enter different text for the
ControlTipText property of each control, both the text box and the
associated label display the ControlTipText value of the text box.
RESOLUTION
If you want to display different control tips for a text box and its
associated label, you must first "de-associate" them.
NOTE: The AutoLabel property of the default text box is responsible for
specifying whether labels should be attached to new text boxes. For more
information about the AutoLabel property and how to set it, search the Help
Index for information on how to "Specify whether labels are automatically
attached to new controls," or ask the Microsoft Access 97 Office Assistant.
To "de-associate" a text box and a label, follow these steps:
- In Microsoft Access 97, open your form in Design view.
- Click the label associated with a text box. Ensure that you select only
the label (surrounded by handles) rather than both the label and the
text box.
- On the Edit menu, click Cut. If both the label and text box disappear,
on the Edit menu, click Undo Cut and repeat step 2.
- On the Edit menu, click Paste.
- Drag the label to its original position.
MORE INFORMATION
Steps to Reproduce Behavior
- In Microsoft Access 97, open the sample database Northwind.mdb.
- Open the Customers form in Design view.
- Right-click the label portion of the Company Name text box control
(CompanyNameLabel) to bring up the shortcut menu, and then click
Properties.
- In the CompanyNameLabel properties box, click the Other tab.
- Enter the following text in the ControlTipText property, and then close
the properties box:
label
- Right-click the CompanyName text box control to bring up the shortcut
menu, and then click Properties.
- In the CompanyName properties box, click the Other tab.
- Enter the following in the ControlTipText property, and then close
the properties box:
text box
- Save the form. On the View menu, click Form View.
- Note that the control tips for both the label and the text box say
text box.
REFERENCES
For more information about control tips, search the Help Index for
"ControlTipText Property," or ask the Office Assistant.
Additional query words:
lost not showing up can't cannot see find
Keywords : kbdta FmrProp
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbprb