Sets the text used for the tooltip of a control.
Applies To
-
Check boxes
-
Command buttons
-
Forms
-
Frames
-
Images
-
Indicators
-
Labels
-
Matrix boxes
-
Menu buttons
-
Option buttons
-
Pages
-
Picture boxes
-
Shapes
-
Subforms
-
Tab controls
-
Table boxes
-
Text boxes
Remarks
ToolTipML is multilanguage enabled. This means that it can contain a list of strings for use by different languages. The text that is used is selected according to the user's current language setting. For more information, see Working with Multilanguage Functionality.
The ToolTipML property value has the following format.
Copy Code | |
---|---|
<Language ID>=<tooltip> |
<Language ID> is a Windows standard three-letter language ID and <caption> is the caption text for this language. Semicolons are used to separate entries.
In the following example, values are set for Danish (DAN) and English (ENG).
Copy Code | |
---|---|
DAN=Dette felt indeholder kundens navn;ENG=This field contains the customer name |
How to Enter ToolTipML Values
You can enter values for the the ToolTipML property in two ways.
-
Enter a ToolTip Property value. This value is inserted in ToolTipML as the value for the language that is currently selected. If the language is set to Danish when a value is entered in ToolTip, ToolTipML is updated with a DAN=<value> string. You have to use the abbreviated language name (for example, DAN for Danish).
-
Click the AssistEdit button in the ToolTipML Value field to open the Multilanguage editor. This is a form with two columns: Language and Value. The Language column is populated with all languages defined by Windows. Enter tooltip text in the Value field for the appropriate language and then click OK to close the editor. If you press the ESC key to close the editor, the ToolTipML field is not updated.
See Also
© 2010 Microsoft Corporation. All rights reserved.