Bonsoir,
Pour mettre une info bulle sur un textBox j'utilise ce code:
Ce qui ne me plait pas c'est que si j'amène puis stoppe le pointeur de la souris sur le textbox, rien ne se passe, il faut que le pointeur se déplace dessus pour que l'info apparaisse.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 Dim toolTip1 As New ToolTip() toolTip1.ToolTipIcon = ToolTipIcon.Info toolTip1.AutoPopDelay = 4000 toolTip1.InitialDelay = 500 toolTip1.ReshowDelay = 0 ' Force the ToolTip text to be displayed whether or not the form is active. toolTip1.ShowAlways = True ' Set up the ToolTip text for the Button and Checkbox. With toolTip1 .SetToolTip(camber_box, "Negative camber is when the top of the wheel lead inward.")
Partager