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

Re: Simple use of ToolTip in VB not working by Sijin

Sijin
Fri Sep 03 01:32:53 CDT 2004

It works on my system without adding any additional code. I am using
VS.Net 2003.

Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph



JB wrote:
> 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

Re: Simple use of ToolTip in VB not working by jbyy4u

jbyy4u
Fri Sep 03 10:49:12 CDT 2004

Just a quick follow-up. What I described below where I had coded the
first conrol and the other tooltips then worked - it was pretty
flakey...sometimes it would work...most times it wouldn't so I had to
code all.

I'm running 1.1 SP1 FW with VS.net 2003...I'm going to be
upgrading/re-installing soon so maybe it will start working as it
should.

JB

jbyy4u@yahoo.com (JB) wrote in message news:<aaed8e6c.0409021631.1693d5d9@posting.google.com>...
> 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

Re: Simple use of ToolTip in VB not working by jbyy4u

jbyy4u
Tue Sep 07 13:48:13 CDT 2004

Last follow-up: I found that rebooting my machine fixed this and
other strange behavior I've been seeing. Don't know if others are
running into this or not. My developement system is very weak (P-II
300 MHZ with about 512MB RAM)...but for now it is going to have to do.

JB

jbyy4u@yahoo.com (JB) wrote in message news:<aaed8e6c.0409030749.5bfafb0b@posting.google.com>...
> Just a quick follow-up. What I described below where I had coded the
> first conrol and the other tooltips then worked - it was pretty
> flakey...sometimes it would work...most times it wouldn't so I had to
> code all.
>
> I'm running 1.1 SP1 FW with VS.net 2003...I'm going to be
> upgrading/re-installing soon so maybe it will start working as it
> should.
>
> JB
>
> jbyy4u@yahoo.com (JB) wrote in message news:<aaed8e6c.0409021631.1693d5d9@posting.google.com>...
> > 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

Re: Simple use of ToolTip in VB not working by henrik

henrik
Sat Sep 11 11:27:09 CDT 2004

After installaing the latest SP i cant get the tooltip to work either. We had
it running in several applications for years !! - I get an internal .NET JIT
error when tooltip funtionality is added on application startup...

/Henrik

"JB" wrote:

> Last follow-up: I found that rebooting my machine fixed this and
> other strange behavior I've been seeing. Don't know if others are
> running into this or not. My developement system is very weak (P-II
> 300 MHZ with about 512MB RAM)...but for now it is going to have to do.
>
> JB
>
> jbyy4u@yahoo.com (JB) wrote in message news:<aaed8e6c.0409030749.5bfafb0b@posting.google.com>...
> > Just a quick follow-up. What I described below where I had coded the
> > first conrol and the other tooltips then worked - it was pretty
> > flakey...sometimes it would work...most times it wouldn't so I had to
> > code all.
> >
> > I'm running 1.1 SP1 FW with VS.net 2003...I'm going to be
> > upgrading/re-installing soon so maybe it will start working as it
> > should.
> >
> > JB
> >
> > jbyy4u@yahoo.com (JB) wrote in message news:<aaed8e6c.0409021631.1693d5d9@posting.google.com>...
> > > 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
>