Hides the current balloon-style tooltip displayed using the ToolTipClass.ShowToolTip method.
Class: ToolTipClass
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET
public static void HideToolTip();
Public Shared Sub HideToolTip()
Hides the current balloon-style tooltip displayed using the ToolTipClass.ShowToolTip method.
The tooltip displayed using the ToolTipClass.ShowToolTip method can be used to bring information to the user's attention. It is unrelated to cell tooltips and scrolltips.
}
private void sftTree1_ColumnResized(object sender, ColumnResizedEventArgs e) {
AdjustInfo();
}
private void Form1_Deactivate(object sender, EventArgs e) {
Timer1.Enabled = false;
ToolTipClass.HideToolTip();
}
private void Form1_Activated(object sender, EventArgs e) {
Timer1.Interval = 500;
Timer1.Enabled = true;
}
End Sub Private Sub sftTree1_ColumnResized(ByVal sender As System.Object, ByVal e As Softelvdm.SftTreeNET.ColumnResizedEventArgs) Handles sftTree1.ColumnResized AdjustInfo() End Sub Private Sub Form1_Deactivate(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Deactivate Timer1.Enabled = False ToolTipClass.HideToolTip() End Sub Private Sub Form1_Activated(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Activated Timer1.Interval = 500 Timer1.Enabled = True End Sub
See Also ToolTipClass Class | Classes | SftTree/NET 3.0