Partager via


FormControl.toolTip Method

Definition

Retrieves the tooltip text for the control.

public:
 virtual System::String ^ toolTip();
public virtual string toolTip ();
abstract member toolTip : unit -> string
override this.toolTip : unit -> string
Public Overridable Function toolTip () As String

Returns

The tooltip text for the control; an empty string if no tooltip text has been defined for the control.

Remarks

The method might be overridden to provide a value to the toolTip method.

The following example shows how to override the toolTip method.

str toolTip() 
{ 
    return "Account numbers of customers eligible for discount"; 
}

Applies to