Search
Box.ToolTip Property
See Also
 



Gets or sets a short text message displayed when the mouse pointer rests over this box.

 Syntax

VB6  Copy Code

Public Property Get ToolTip() As String
Public Property Let ToolTip( _
    ByVal value As String _
)

C++  Copy Code

public:
BSTR get_ToolTip ()
void put_ToolTip (
    BSTR value
)

 Property Value

A string value. The default is an empty string.

 Remarks

Sets or gets the text to be displayed as a tool-tip if the mouse pointer stays for a while over a box. To get multi-lined tool-tips, specify a string containing standard EOL line dividers.

 Example

The code below sets multi-line tooltip.

 See Also