Share via


FormComboBoxControl.toolTip Method

Definition

Returns the tooltip text for the control.

public:
 override System::String ^ toolTip();
public override string toolTip ();
override this.toolTip : unit -> string
Public Overrides 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 can 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