Hello,
I have 2 forms and I try to display a tooltip on the picturebox control on the form2.
In my main form (form1), I have a button
On the form2, I have a picturebox component (PictureBox1) & a ToolTip component (ToolTip1)
I never got the ToolTip displayed on the pictureBox. Why ??
Isa
I have 2 forms and I try to display a tooltip on the picturebox control on the form2.
In my main form (form1), I have a button
Code:
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Form2.Show(Me)
End Sub
Private Sub MyButton_Click(sender As Object, e As EventArgs) Handles MyButton.Click
Form2.ToolTip1.ShowAlways = True
Form2.ToolTip1.Active = True
Form2.ToolTip1.Show("my text", Form2.PictureBox1, 0, 0, 5000)
End Sub
I never got the ToolTip displayed on the pictureBox. Why ??
Isa