Partilhar via


FormListBoxControl.toolTip Method

Definition

Retrieves a tooltip 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 text to show in the tooltip.

Remarks

Whenever the pointer hovers over the control, the tooltip is displayed to the user. This method can be overridden to present instructive text to the user about the values that are entered in the control.

The following example returns the tooltip for the control.

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

Applies to