473,786 Members | 2,420 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why is the Tooltip Bug Still not Fixed in VS2008?

I have to take this personally now. Tooltips have been flakey since the dawn
of .NET, but to still have to put up with a disappearing tooltip in VS 2008
is getting beyond a joke. Tooltips have always done this, so isn't it about
time they were fixed?

I have a tooltip that I assign to a button control on my form. I hover over
the button and up pops the tooltip. I move away and the tooltp fades. I
hover again, and back comes the tooltip. Great.

So now I click the button, and the next time I hover: no tooltip. Never to
be seen again. They did this in 2002, 2003 and 2005. And now 2008.

Does anyone have a workaround, or will I have to roll my own yet again?

Thanks for any help.

Charles
Sep 2 '08
16 2778
I changed my code in form1 button click to open form two with a button.
Form2 is modal, and the button pops up a message box. The tooltip on form2
works fine. Again this is vb on vista (home edition).

I will shoot the code over to work and run it on XP. I doubt that will
change stuff though.

"Charles Law" <bl***@nowhere. comwrote in message
news:ef******** ******@TK2MSFTN GP02.phx.gbl...
It shouldn't, but does it matter that the form on which the button lives
is a modal form of a parent? When I ShowDialog for an instance of my child
form, I pass the parent as the owner.

Charles
"Family Tree Mike" <Fa************ @ThisOldHouse.c omwrote in message
news:uc******** ******@TK2MSFTN GP06.phx.gbl...
>Your code works fine for me. The button click event shows a message box.
While the message box is visible, there are no tooltips on my form, which
makes sense, as the message box is modal. When I dismiss the message
box, the tool tip shows up upon hovering over the button.

Sorry, I don't know what to tell ya!

"Charles Law" <bl***@nowhere. comwrote in message
news:Ox******* *******@TK2MSFT NGP02.phx.gbl.. .
>>Hi Mike

Thanks for the quick reply. I'm using VB in VS2008. I have a module
level variable

Private m_Tooltip As New Tooltip

and then in the Form_Load event:

With m_Tooltip
.SetToolTip(MyB utton, "My text.")
.ToolTipTitle = "My Title"
.ToolTipIcon = ToolTipIcon.Inf o
End With

I wave the mouse over the button and the tooltip appears. When I click
the button I can't get the tooltip again. Even if I click the button and
slide the mouse off, so the click event doesn't fire, I still lose the
tooltip.

Charles
"Family Tree Mike" <Fa************ @ThisOldHouse.c omwrote in message
news:Ok****** ********@TK2MSF TNGP05.phx.gbl. ..
The steps you outlined work fine for me. The tool tip shows up fine
after the process that the button executes is finished. I'm using VS
2008, C#, on Vista, hold the mayo...
"Charles Law" <bl***@nowhere. comwrote in message
news:ui***** *********@TK2MS FTNGP04.phx.gbl ...
>I have to take this personally now. Tooltips have been flakey since the
>dawn of .NET, but to still have to put up with a disappearing tooltip
>in VS 2008 is getting beyond a joke. Tooltips have always done this, so
>isn't it about time they were fixed?
>
I have a tooltip that I assign to a button control on my form. I hover
over the button and up pops the tooltip. I move away and the tooltp
fades. I hover again, and back comes the tooltip. Great.
>
So now I click the button, and the next time I hover: no tooltip.
Never to be seen again. They did this in 2002, 2003 and 2005. And now
2008.
>
Does anyone have a workaround, or will I have to roll my own yet
again?
>
Thanks for any help.
>
Charles
>
>

Sep 3 '08 #11
I've just tried it that way too, and get the same result. Couldn't be
simpler: drag tooltip onto the form, set the Tooltip on Tooltip1 property of
my button, and run. Tooltip appears and disappears as normal until I click
the button, and then it never appears again.

I'm using VS2008 Pro on XP SP3. In fact, I very recently re-installed XP so
it's pretty clean too, but clearly all is not well in the state of Denmark!

Charles
"Family Tree Mike" <Fa************ @ThisOldHouse.c omwrote in message
news:ee******** ******@TK2MSFTN GP05.phx.gbl...
>I believe that what GS is describing is the standard process of draging the
tooltip control onto your form. This gives an additional "ToolTip on
ToolTip1" property on each control on your form. I too have never set the
tooltip object inside my form, but rather do it from the properties in the
designer.

"Charles Law" <bl***@nowhere. comwrote in message
news:eZ******** ******@TK2MSFTN GP02.phx.gbl...
>>I would, but my System.Windows. Forms.Button doesn't have a Tooltip
property.

Charles
"GS" <gs************ **********@msne ws.Nomail.comwr ote in message
news:eL******* *******@TK2MSFT NGP05.phx.gbl.. .
>>>I suspect most of us use a simpler tooltip
just set the mybutton.tootip property to whatever.. no tootiptitle used
I do have another tooptip for detailed info for the purpose of
additonal
help at times. nonetheless never seem to have problem your described.
Window Xp, express vs 2005, 2008

"Charles Law" <bl***@nowhere. comwrote in message
news:Ox****** ********@TK2MSF TNGP02.phx.gbl. ..
Hi Mike

Thanks for the quick reply. I'm using VB in VS2008. I have a module
level
variable

Private m_Tooltip As New Tooltip

and then in the Form_Load event:

With m_Tooltip
.SetToolTip(MyB utton, "My text.")
.ToolTipTitle = "My Title"
.ToolTipIcon = ToolTipIcon.Inf o
End With

I wave the mouse over the button and the tooltip appears. When I click
the
button I can't get the tooltip again. Even if I click the button and
slide
the mouse off, so the click event doesn't fire, I still lose the
tooltip.

Charles
"Family Tree Mike" <Fa************ @ThisOldHouse.c omwrote in message
news:Ok***** *********@TK2MS FTNGP05.phx.gbl ...
The steps you outlined work fine for me. The tool tip shows up fine
after
the process that the button executes is finished. I'm using VS 2008,
C#,
on Vista, hold the mayo...
"Charles Law" <bl***@nowhere. comwrote in message
news:ui****** ********@TK2MSF TNGP04.phx.gbl. ..
I have to take this personally now. Tooltips have been flakey since
the
dawn of .NET, but to still have to put up with a disappearing tooltip
in
VS 2008 is getting beyond a joke. Tooltips have always done this, so
isn't
it about time they were fixed?

I have a tooltip that I assign to a button control on my form. I
hover
over the button and up pops the tooltip. I move away and the tooltp
fades. I hover again, and back comes the tooltip. Great.

So now I click the button, and the next time I hover: no tooltip.
Never
to be seen again. They did this in 2002, 2003 and 2005. And now
2008.

Does anyone have a workaround, or will I have to roll my own yet
again?

Thanks for any help.

Charles




Sep 3 '08 #12
Well, I found that I see the same behaviour as you on my XP box at work. It
must be a setting somewhere that Vista changes, as Vista lets the tool tip
show in the manner you desire without any special coding.

"Charles Law" wrote:
I've just tried it that way too, and get the same result. Couldn't be
simpler: drag tooltip onto the form, set the Tooltip on Tooltip1 property of
my button, and run. Tooltip appears and disappears as normal until I click
the button, and then it never appears again.

I'm using VS2008 Pro on XP SP3. In fact, I very recently re-installed XP so
it's pretty clean too, but clearly all is not well in the state of Denmark!

Charles
"Family Tree Mike" <Fa************ @ThisOldHouse.c omwrote in message
news:ee******** ******@TK2MSFTN GP05.phx.gbl...
I believe that what GS is describing is the standard process of draging the
tooltip control onto your form. This gives an additional "ToolTip on
ToolTip1" property on each control on your form. I too have never set the
tooltip object inside my form, but rather do it from the properties in the
designer.

"Charles Law" <bl***@nowhere. comwrote in message
news:eZ******** ******@TK2MSFTN GP02.phx.gbl...
>I would, but my System.Windows. Forms.Button doesn't have a Tooltip
property.

Charles
"GS" <gs************ **********@msne ws.Nomail.comwr ote in message
news:eL******** ******@TK2MSFTN GP05.phx.gbl...
I suspect most of us use a simpler tooltip
just set the mybutton.tootip property to whatever.. no tootiptitle used
I do have another tooptip for detailed info for the purpose of
additonal
help at times. nonetheless never seem to have problem your described.
Window Xp, express vs 2005, 2008

"Charles Law" <bl***@nowhere. comwrote in message
news:Ox******* *******@TK2MSFT NGP02.phx.gbl.. .
Hi Mike

Thanks for the quick reply. I'm using VB in VS2008. I have a module
level
variable

Private m_Tooltip As New Tooltip

and then in the Form_Load event:

With m_Tooltip
.SetToolTip(MyB utton, "My text.")
.ToolTipTitle = "My Title"
.ToolTipIcon = ToolTipIcon.Inf o
End With

I wave the mouse over the button and the tooltip appears. When I click
the
button I can't get the tooltip again. Even if I click the button and
slide
the mouse off, so the click event doesn't fire, I still lose the
tooltip.

Charles
"Family Tree Mike" <Fa************ @ThisOldHouse.c omwrote in message
news:Ok****** ********@TK2MSF TNGP05.phx.gbl. ..
The steps you outlined work fine for me. The tool tip shows up fine
after
the process that the button executes is finished. I'm using VS 2008,
C#,
on Vista, hold the mayo...
"Charles Law" <bl***@nowhere. comwrote in message
news:ui******* *******@TK2MSFT NGP04.phx.gbl.. .
I have to take this personally now. Tooltips have been flakey since
the
dawn of .NET, but to still have to put up with a disappearing tooltip
in
VS 2008 is getting beyond a joke. Tooltips have always done this, so
isn't
it about time they were fixed?

I have a tooltip that I assign to a button control on my form. I
hover
over the button and up pops the tooltip. I move away and the tooltp
fades. I hover again, and back comes the tooltip. Great.

So now I click the button, and the next time I hover: no tooltip.
Never
to be seen again. They did this in 2002, 2003 and 2005. And now
2008.

Does anyone have a workaround, or will I have to roll my own yet
again?

Thanks for any help.

Charles




Sep 3 '08 #13
So I'm not going mad then :-) ... or perhaps that's a matter of opinion.

I have a workaround, where I remove the button from the tooltip and re-add
it in the MouseEnter event of the button, but this has been a problem with
tooltips in .NET since forever, and I'm getting a little tired of it.

Charles
"Family Tree Mike" <Fa************ @discussions.mi crosoft.comwrot e in
message news:89******** *************** ***********@mic rosoft.com...
Well, I found that I see the same behaviour as you on my XP box at work.
It
must be a setting somewhere that Vista changes, as Vista lets the tool tip
show in the manner you desire without any special coding.

"Charles Law" wrote:
>I've just tried it that way too, and get the same result. Couldn't be
simpler: drag tooltip onto the form, set the Tooltip on Tooltip1 property
of
my button, and run. Tooltip appears and disappears as normal until I
click
the button, and then it never appears again.

I'm using VS2008 Pro on XP SP3. In fact, I very recently re-installed XP
so
it's pretty clean too, but clearly all is not well in the state of
Denmark!

Charles
"Family Tree Mike" <Fa************ @ThisOldHouse.c omwrote in message
news:ee******* *******@TK2MSFT NGP05.phx.gbl.. .
>I believe that what GS is describing is the standard process of draging
the
tooltip control onto your form. This gives an additional "ToolTip on
ToolTip1" property on each control on your form. I too have never set
the
tooltip object inside my form, but rather do it from the properties in
the
designer.

"Charles Law" <bl***@nowhere. comwrote in message
news:eZ******** ******@TK2MSFTN GP02.phx.gbl...
I would, but my System.Windows. Forms.Button doesn't have a Tooltip
property.

Charles
"GS" <gs************ **********@msne ws.Nomail.comwr ote in message
news:eL******* *******@TK2MSFT NGP05.phx.gbl.. .
I suspect most of us use a simpler tooltip
just set the mybutton.tootip property to whatever.. no tootiptitle
used
I do have another tooptip for detailed info for the purpose of
additonal
help at times. nonetheless never seem to have problem your
described.
Window Xp, express vs 2005, 2008

"Charles Law" <bl***@nowhere. comwrote in message
news:Ox****** ********@TK2MSF TNGP02.phx.gbl. ..
Hi Mike

Thanks for the quick reply. I'm using VB in VS2008. I have a module
level
variable

Private m_Tooltip As New Tooltip

and then in the Form_Load event:

With m_Tooltip
.SetToolTip(MyB utton, "My text.")
.ToolTipTitle = "My Title"
.ToolTipIcon = ToolTipIcon.Inf o
End With

I wave the mouse over the button and the tooltip appears. When I
click
the
button I can't get the tooltip again. Even if I click the button and
slide
the mouse off, so the click event doesn't fire, I still lose the
tooltip.

Charles
"Family Tree Mike" <Fa************ @ThisOldHouse.c omwrote in
message
news:Ok***** *********@TK2MS FTNGP05.phx.gbl ...
The steps you outlined work fine for me. The tool tip shows up
fine
after
the process that the button executes is finished. I'm using VS
2008,
C#,
on Vista, hold the mayo...
"Charles Law" <bl***@nowhere. comwrote in message
news:ui****** ********@TK2MSF TNGP04.phx.gbl. ..
I have to take this personally now. Tooltips have been flakey
since
the
dawn of .NET, but to still have to put up with a disappearing
tooltip
in
VS 2008 is getting beyond a joke. Tooltips have always done this,
so
isn't
it about time they were fixed?

I have a tooltip that I assign to a button control on my form. I
hover
over the button and up pops the tooltip. I move away and the
tooltp
fades. I hover again, and back comes the tooltip. Great.

So now I click the button, and the next time I hover: no tooltip.
Never
to be seen again. They did this in 2002, 2003 and 2005. And now
2008.

Does anyone have a workaround, or will I have to roll my own yet
again?

Thanks for any help.

Charles






Sep 3 '08 #14
On Sep 3, 10:29*am, "Charles Law" <bl...@nowhere. comwrote:
So I'm not going mad then :-) ... or perhaps that's a matter of opinion.

I have a workaround, where I remove the button from the tooltip and re-add
it in the MouseEnter event of the button, but this has been a problem with
tooltips in .NET since forever, and I'm getting a little tired of it.

Charles

"Family Tree Mike" <FamilyTreeM... @discussions.mi crosoft.comwrot e in
messagenews:89* *************** *************** ***@microsoft.c om...
Well, I found that I see the same behaviour as you on my XP box at work..
It
must be a setting somewhere that Vista changes, as Vista lets the tool tip
show in the manner you desire without any special coding.
"Charles Law" wrote:
I've just tried it that way too, and get the same result. Couldn't be
simpler: drag tooltip onto the form, set the Tooltip on Tooltip1 property
of
my button, and run. Tooltip appears and disappears as normal until I
click
the button, and then it never appears again.
I'm using VS2008 Pro on XP SP3. In fact, I very recently re-installed XP
so
it's pretty clean too, but clearly all is not well in the state of
Denmark!
Charles
"Family Tree Mike" <FamilyTreeM... @ThisOldHouse.c omwrote in message
news:ee******* *******@TK2MSFT NGP05.phx.gbl.. .
I believe that what GS is describing is the standard process of draging
the
tooltip control onto your form. *This gives an additional "ToolTip on
ToolTip1" property on each control on your form. *I too have never set
the
tooltip object inside my form, but rather do it from the properties in
the
designer.
"Charles Law" <bl...@nowhere. comwrote in message
news:eZ******** ******@TK2MSFTN GP02.phx.gbl...
I would, but my System.Windows. Forms.Button doesn't have a Tooltip
property.
Charles
"GS" <gsmsnews.micro soft.co...@msne ws.Nomail.comwr ote in message
news:eL******* *******@TK2MSFT NGP05.phx.gbl.. .
I suspect most of us use a simpler tooltip
just set the mybutton.tootip property to whatever.. no tootiptitle
used
>I do have another tooptip for *detailed info for the purpose of
additonal
help *at times. *nonetheless never seem to have problem your
described.
Window Xp, express vs 2005, 2008
>"Charles Law" <bl...@nowhere. comwrote in message
news:Ox****** ********@TK2MSF TNGP02.phx.gbl. ..
Hi Mike
>>Thanks for the quick reply. I'm using VB in VS2008. I have a module
level
variable
>>Private m_Tooltip As New Tooltip
>>and then in the Form_Load event:
>>With m_Tooltip
* * .SetToolTip(MyB utton, "My text.")
* * .ToolTipTitle = "My Title"
* * .ToolTipIcon = ToolTipIcon.Inf o
End With
>>I wave the mouse over the button and the tooltip appears. When I
click
the
button I can't get the tooltip again. Even if I click the button and
slide
the mouse off, so the click event doesn't fire, I still lose the
tooltip.
>>Charles
>>"Family Tree Mike" <FamilyTreeM... @ThisOldHouse.c omwrote in
message
news:Ok***** *********@TK2MS FTNGP05.phx.gbl ...
The steps you outlined work fine for me. *The tool tip shows up
fine
after
the process that the button executes is finished. *I'm using VS
2008,
C#,
on Vista, hold the mayo...
>"Charles Law" <bl...@nowhere. comwrote in message
news:ui****** ********@TK2MSF TNGP04.phx.gbl. ..
I have to take this personally now. Tooltips have been flakey
since
the
dawn of .NET, but to still have to put up with a disappearing
tooltip
in
VS 2008 is getting beyond a joke. Tooltips have always done this,
so
isn't
it about time they were fixed?
>>I have a tooltip that I assign to a button control on my form.I
hover
over the button and up pops the tooltip. I move away and the
tooltp
fades. I hover again, and back comes the tooltip. Great.
>>So now I click the button, and the next time I hover: no tooltip.
Never
to be seen again. They did this in 2002, 2003 and 2005. And now
2008.
>>Does anyone have a workaround, or will I have to roll my own yet
again?
>>Thanks for any help.
>>Charles
Sounds to me like it's a problem with XP and not with .NET. I'd say
your best bet is to submit it to Microsoft Connect and see what they
say.

Thanks,

Seth Rowe [MVP]
http://sethrowe.blogspot.com/
Sep 3 '08 #15
Sounds to me like it's a problem with XP and not with .NET

I think that's a moot point. NET is supposed to work on XP, and in this
respect it doesn't, on at least two systems, as it has now been
corroborated. Arguably it isn't XP that's trying to show the tooltip but the
NET framework.

Either way it is academic really, so long as the Microsoft XP team don't
point me to the NET team, and vice versa ;-)

Charles
"rowe_newsgroup s" <ro********@yah oo.comwrote in message
news:29******** *************** ***********@8g2 000hse.googlegr oups.com...
On Sep 3, 10:29 am, "Charles Law" <bl...@nowhere. comwrote:
So I'm not going mad then :-) ... or perhaps that's a matter of opinion.

I have a workaround, where I remove the button from the tooltip and re-add
it in the MouseEnter event of the button, but this has been a problem with
tooltips in .NET since forever, and I'm getting a little tired of it.

Charles

"Family Tree Mike" <FamilyTreeM... @discussions.mi crosoft.comwrot e in
messagenews:89* *************** *************** ***@microsoft.c om...
Well, I found that I see the same behaviour as you on my XP box at work.
It
must be a setting somewhere that Vista changes, as Vista lets the tool
tip
show in the manner you desire without any special coding.
"Charles Law" wrote:
I've just tried it that way too, and get the same result. Couldn't be
simpler: drag tooltip onto the form, set the Tooltip on Tooltip1
property
of
my button, and run. Tooltip appears and disappears as normal until I
click
the button, and then it never appears again.
I'm using VS2008 Pro on XP SP3. In fact, I very recently re-installed
XP
so
it's pretty clean too, but clearly all is not well in the state of
Denmark!
Charles
"Family Tree Mike" <FamilyTreeM... @ThisOldHouse.c omwrote in message
news:ee******* *******@TK2MSFT NGP05.phx.gbl.. .
I believe that what GS is describing is the standard process of
draging
the
tooltip control onto your form. This gives an additional "ToolTip on
ToolTip1" property on each control on your form. I too have never set
the
tooltip object inside my form, but rather do it from the properties in
the
designer.
"Charles Law" <bl...@nowhere. comwrote in message
news:eZ******** ******@TK2MSFTN GP02.phx.gbl...
I would, but my System.Windows. Forms.Button doesn't have a Tooltip
property.
Charles
"GS" <gsmsnews.micro soft.co...@msne ws.Nomail.comwr ote in message
news:eL******* *******@TK2MSFT NGP05.phx.gbl.. .
I suspect most of us use a simpler tooltip
just set the mybutton.tootip property to whatever.. no tootiptitle
used
>I do have another tooptip for detailed info for the purpose of
additonal
help at times. nonetheless never seem to have problem your
described.
Window Xp, express vs 2005, 2008
>"Charles Law" <bl...@nowhere. comwrote in message
news:Ox****** ********@TK2MSF TNGP02.phx.gbl. ..
Hi Mike
>>Thanks for the quick reply. I'm using VB in VS2008. I have a
module
level
variable
>>Private m_Tooltip As New Tooltip
>>and then in the Form_Load event:
>>With m_Tooltip
.SetToolTip(M yButton, "My text.")
.ToolTipTit le = "My Title"
.ToolTipIco n = ToolTipIcon.Inf o
End With
>>I wave the mouse over the button and the tooltip appears. When I
click
the
button I can't get the tooltip again. Even if I click the button
and
slide
the mouse off, so the click event doesn't fire, I still lose the
tooltip.
>>Charles
>>"Family Tree Mike" <FamilyTreeM... @ThisOldHouse.c omwrote in
message
news:Ok***** *********@TK2MS FTNGP05.phx.gbl ...
The steps you outlined work fine for me. The tool tip shows up
fine
after
the process that the button executes is finished. I'm using VS
2008,
C#,
on Vista, hold the mayo...
>"Charles Law" <bl...@nowhere. comwrote in message
news:ui****** ********@TK2MSF TNGP04.phx.gbl. ..
I have to take this personally now. Tooltips have been flakey
since
the
dawn of .NET, but to still have to put up with a disappearing
tooltip
in
VS 2008 is getting beyond a joke. Tooltips have always done
this,
so
isn't
it about time they were fixed?
>>I have a tooltip that I assign to a button control on my form.
I
hover
over the button and up pops the tooltip. I move away and the
tooltp
fades. I hover again, and back comes the tooltip. Great.
>>So now I click the button, and the next time I hover: no
tooltip.
Never
to be seen again. They did this in 2002, 2003 and 2005. And now
2008.
>>Does anyone have a workaround, or will I have to roll my own
yet
again?
>>Thanks for any help.
>>Charles
Sounds to me like it's a problem with XP and not with .NET. I'd say
your best bet is to submit it to Microsoft Connect and see what they
say.

Thanks,

Seth Rowe [MVP]
http://sethrowe.blogspot.com/
Sep 3 '08 #16
"Charles Law" <bl***@nowhere. comwrote in message
news:es******** ******@TK2MSFTN GP03.phx.gbl...
>Sounds to me like it's a problem with XP and not with .NET

I think that's a moot point. NET is supposed to work on XP, and in this
respect it doesn't, on at least two systems, as it has now been
corroborated. Arguably it isn't XP that's trying to show the tooltip but
the NET framework.

Either way it is academic really, so long as the Microsoft XP team don't
point me to the NET team, and vice versa ;-)

Charles
Actually if XP has a bug here .NET would also exhibit the same bug since
Windows Forms are simply a wrapper for the underlying GUI elements in the
Win32 subsystem.

Mike.
>
"rowe_newsgroup s" <ro********@yah oo.comwrote in message
news:29******** *************** ***********@8g2 000hse.googlegr oups.com...
On Sep 3, 10:29 am, "Charles Law" <bl...@nowhere. comwrote:
>So I'm not going mad then :-) ... or perhaps that's a matter of opinion.

I have a workaround, where I remove the button from the tooltip and
re-add
it in the MouseEnter event of the button, but this has been a problem
with
tooltips in .NET since forever, and I'm getting a little tired of it.

Charles

"Family Tree Mike" <FamilyTreeM... @discussions.mi crosoft.comwrot e in
messagenews:89 *************** *************** ****@microsoft. com...
Well, I found that I see the same behaviour as you on my XP box at
work.
It
must be a setting somewhere that Vista changes, as Vista lets the tool
tip
show in the manner you desire without any special coding.
"Charles Law" wrote:
>I've just tried it that way too, and get the same result. Couldn't be
simpler: drag tooltip onto the form, set the Tooltip on Tooltip1
property
of
my button, and run. Tooltip appears and disappears as normal until I
click
the button, and then it never appears again.
>I'm using VS2008 Pro on XP SP3. In fact, I very recently re-installed
XP
so
it's pretty clean too, but clearly all is not well in the state of
Denmark!
>Charles
>"Family Tree Mike" <FamilyTreeM... @ThisOldHouse.c omwrote in message
news:ee****** ********@TK2MSF TNGP05.phx.gbl. ..
I believe that what GS is describing is the standard process of
draging
the
tooltip control onto your form. This gives an additional "ToolTip on
ToolTip1" property on each control on your form. I too have never set
the
tooltip object inside my form, but rather do it from the properties
in
the
designer.
"Charles Law" <bl...@nowhere. comwrote in message
news:eZ******* *******@TK2MSFT NGP02.phx.gbl.. .
I would, but my System.Windows. Forms.Button doesn't have a Tooltip
property.
>Charles
>"GS" <gsmsnews.micro soft.co...@msne ws.Nomail.comwr ote in message
news:eL****** ********@TK2MSF TNGP05.phx.gbl. ..
I suspect most of us use a simpler tooltip
just set the mybutton.tootip property to whatever.. no tootiptitle
used
>>I do have another tooptip for detailed info for the purpose of
additonal
help at times. nonetheless never seem to have problem your
described.
Window Xp, express vs 2005, 2008
>>"Charles Law" <bl...@nowhere. comwrote in message
news:Ox***** *********@TK2MS FTNGP02.phx.gbl ...
Hi Mike
>>>Thanks for the quick reply. I'm using VB in VS2008. I have a
module
level
variable
>>>Private m_Tooltip As New Tooltip
>>>and then in the Form_Load event:
>>>With m_Tooltip
.SetToolTip( MyButton, "My text.")
.ToolTipTitl e = "My Title"
.ToolTipIc on = ToolTipIcon.Inf o
End With
>>>I wave the mouse over the button and the tooltip appears. When I
click
the
button I can't get the tooltip again. Even if I click the button
and
slide
the mouse off, so the click event doesn't fire, I still lose the
tooltip.
>>>Charles
>>>"Family Tree Mike" <FamilyTreeM... @ThisOldHouse.c omwrote in
message
news:Ok**** **********@TK2M SFTNGP05.phx.gb l...
The steps you outlined work fine for me. The tool tip shows up
fine
after
the process that the button executes is finished. I'm using VS
2008,
C#,
on Vista, hold the mayo...
>>"Charles Law" <bl...@nowhere. comwrote in message
news:ui***** *********@TK2MS FTNGP04.phx.gbl ...
I have to take this personally now. Tooltips have been flakey
since
the
dawn of .NET, but to still have to put up with a disappearing
tooltip
in
VS 2008 is getting beyond a joke. Tooltips have always done
this,
so
isn't
it about time they were fixed?
>>>I have a tooltip that I assign to a button control on my form.
I
hover
over the button and up pops the tooltip. I move away and the
tooltp
fades. I hover again, and back comes the tooltip. Great.
>>>So now I click the button, and the next time I hover: no
tooltip.
Never
to be seen again. They did this in 2002, 2003 and 2005. And
now
2008.
>>>Does anyone have a workaround, or will I have to roll my own
yet
again?
>>>Thanks for any help.
>>>Charles

Sounds to me like it's a problem with XP and not with .NET. I'd say
your best bet is to submit it to Microsoft Connect and see what they
say.

Thanks,

Seth Rowe [MVP]
http://sethrowe.blogspot.com/



Sep 3 '08 #17

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
1901
by: =?Utf-8?B?QmlsbEQ=?= | last post by:
I have installed C# 2008 Express edition in Windows Vista, and I found this huge bug: the tooltip shown to the up corner of a window has the old yellow style color. Minimize, Maximize, Close buttons show a yellow tooltip in Explorer and all other programs; instead buttons, system tray icons and other UI elements show Vista grey style tooltip. It seems VS2008 Express has changed some Vista shell dll files.
16
1256
by: Charles Law | last post by:
I have to take this personally now. Tooltips have been flakey since the dawn of .NET, but to still have to put up with a disappearing tooltip in VS 2008 is getting beyond a joke. Tooltips have always done this, so isn't it about time they were fixed? I have a tooltip that I assign to a button control on my form. I hover over the button and up pops the tooltip. I move away and the tooltp fades. I hover again, and back comes the tooltip....
0
1144
by: raylopez99 | last post by:
I have a string that is constantly changing. I would like to display the string in the caption and/or in a ToolTip when the form is minimized. I have done this successfully--save one problem: the string is 'frozen' and not constantly undated when it's minimized--it only shows the value of the string at the moment the window was minimized. But, when the window is maximized (or not minimized), the caption displays the string correctly...
11
2184
by: Kim | last post by:
Using the code below am I able to display/hide a tooltip without any problems, however once the tooltip is displayed its position is fixed (based on where the mouse first hovered onto the object) and I would like the tooltip to follow the mouse instead. What must I change to do this ? HTML <a href="#" onMouseOver="showBox('help','text to display')" onMouseOut="hideBox('help')">text link</a>
2
1424
by: Tom | last post by:
I have a ContextMenuStrip, and I would like to present the user with a tooltip like control when they press a certain button on my strip. I basically just need the user to enter some notes about an item is a list view that they right-clicked on. I don't want to display a form because I'm looking for a "cool" way to enter notes about the item, and a form just seems too ghetto. Is there a way for a user to enter text into a tooltip? i've...
0
9496
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9961
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8989
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7512
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6745
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5397
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5534
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4066
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.