ToolTipText Property

       

Returns or sets a ToolTip.

Syntax

object.ToolTipText [= string]

The ToolTipText property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
string A string associated with an object in the Applies To list. that appears in a small rectangle below the object when the user's cursor hovers over the object at run time for about one second.

Remarks

If you use only an image to label an object, you can use this property to explain each object with a few words.

At design time you can set the ToolTipText property string in the control's properties dialog box.

For the Toolbar and TabStrip controls, you must set the ShowTips property to True to display ToolTips.