J
JB
OK, my understanding of the simple use of the tooltip is to do the
following:
Drag the ToolTip from the toolbox on to your form. Once this is done
all the controls have a new property added to them called "ToolTip on
ToolTip1" (default name).
For each control you can go and enter the specific text for that
particular control. Then when the mouse is hovered over your controls
any ToolTips you've defined for the controls should be displayed.
I COULD NOT GET THIS TO WORK until I did the additional step:
On my first control I added an event handler for mouse over as
follows:
Private Sub lblAddOne_MouseHover(ByVal sender As Object, ByVal e As _
System.EventArgs) Handles lblAddOne.MouseHover
ToolTip1.SetToolTip(sender, "Move Selected Items From List 1 to List
2")
End Sub
Once I added this code the ToolTip on the first control worked fine.
I then just configured the properties of the second control's ToolTip
and IT worked fine without any extra code!
What am I missing here?
TIA.
JB
following:
Drag the ToolTip from the toolbox on to your form. Once this is done
all the controls have a new property added to them called "ToolTip on
ToolTip1" (default name).
For each control you can go and enter the specific text for that
particular control. Then when the mouse is hovered over your controls
any ToolTips you've defined for the controls should be displayed.
I COULD NOT GET THIS TO WORK until I did the additional step:
On my first control I added an event handler for mouse over as
follows:
Private Sub lblAddOne_MouseHover(ByVal sender As Object, ByVal e As _
System.EventArgs) Handles lblAddOne.MouseHover
ToolTip1.SetToolTip(sender, "Move Selected Items From List 1 to List
2")
End Sub
Once I added this code the ToolTip on the first control worked fine.
I then just configured the properties of the second control's ToolTip
and IT worked fine without any extra code!
What am I missing here?
TIA.
JB