473,322 Members | 1,493 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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 #1
16 1232
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**************@TK2MSFTNGP04.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 2 '08 #2
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.")
.ToolTipTitle = "My Title"
.ToolTipIcon = ToolTipIcon.Info
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.comwrote in message
news:Ok**************@TK2MSFTNGP05.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**************@TK2MSFTNGP04.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 #3
GS
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**************@TK2MSFTNGP02.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.")
.ToolTipTitle = "My Title"
.ToolTipIcon = ToolTipIcon.Info
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.comwrote in message
news:Ok**************@TK2MSFTNGP05.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**************@TK2MSFTNGP04.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 #4
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**************@TK2MSFTNGP02.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.")
.ToolTipTitle = "My Title"
.ToolTipIcon = ToolTipIcon.Info
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.comwrote in message
news:Ok**************@TK2MSFTNGP05.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**************@TK2MSFTNGP04.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 #5
"Charles Law" <bl***@nowhere.comwrote in message
news:ui**************@TK2MSFTNGP04.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 would suggest you to report it as a bug to VS Connect. For one thing,
you'll find out whether other people can validate it or not. And if they
can, and it annoys a sufficiently large number of people, they'll vote for
its importance, which is more likely to draw Microsoft's attention in the
end.
Sep 3 '08 #6
Hi Pavel

Thanks, I might do that then.

Cheers

Charles
"Pavel Minaev" <in****@gmail.comwrote in message
news:Oy**************@TK2MSFTNGP03.phx.gbl...
"Charles Law" <bl***@nowhere.comwrote in message
news:ui**************@TK2MSFTNGP04.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 would suggest you to report it as a bug to VS Connect. For one thing,
you'll find out whether other people can validate it or not. And if they
can, and it annoys a sufficiently large number of people, they'll vote for
its importance, which is more likely to draw Microsoft's attention in the
end.

Sep 3 '08 #7
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.comwrote in message
news:uc**************@TK2MSFTNGP06.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**************@TK2MSFTNGP02.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.")
.ToolTipTitle = "My Title"
.ToolTipIcon = ToolTipIcon.Info
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.comwrote in message
news:Ok**************@TK2MSFTNGP05.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**************@TK2MSFTNGP04.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 #8
I would, but my System.Windows.Forms.Button doesn't have a Tooltip property.

Charles
"GS" <gs**********************@msnews.Nomail.comwrote in message
news:eL**************@TK2MSFTNGP05.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**************@TK2MSFTNGP02.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.")
.ToolTipTitle = "My Title"
.ToolTipIcon = ToolTipIcon.Info
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.comwrote in message
news:Ok**************@TK2MSFTNGP05.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**************@TK2MSFTNGP04.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 #9
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**************@TK2MSFTNGP02.phx.gbl...
>I would, but my System.Windows.Forms.Button doesn't have a Tooltip
property.

Charles
"GS" <gs**********************@msnews.Nomail.comwrote in message
news:eL**************@TK2MSFTNGP05.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**************@TK2MSFTNGP02.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.")
.ToolTipTitle = "My Title"
.ToolTipIcon = ToolTipIcon.Info
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.comwrote in message
news:Ok**************@TK2MSFTNGP05.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**************@TK2MSFTNGP04.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 #10
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**************@TK2MSFTNGP02.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.comwrote in message
news:uc**************@TK2MSFTNGP06.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**************@TK2MSFTNGP02.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.")
.ToolTipTitle = "My Title"
.ToolTipIcon = ToolTipIcon.Info
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.comwrote in message
news:Ok**************@TK2MSFTNGP05.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**************@TK2MSFTNGP04.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.comwrote in message
news:ee**************@TK2MSFTNGP05.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**************@TK2MSFTNGP02.phx.gbl...
>>I would, but my System.Windows.Forms.Button doesn't have a Tooltip
property.

Charles
"GS" <gs**********************@msnews.Nomail.comwrote in message
news:eL**************@TK2MSFTNGP05.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**************@TK2MSFTNGP02.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.")
.ToolTipTitle = "My Title"
.ToolTipIcon = ToolTipIcon.Info
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.comwrote in message
news:Ok**************@TK2MSFTNGP05.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**************@TK2MSFTNGP04.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.comwrote in message
news:ee**************@TK2MSFTNGP05.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**************@TK2MSFTNGP02.phx.gbl...
>I would, but my System.Windows.Forms.Button doesn't have a Tooltip
property.

Charles
"GS" <gs**********************@msnews.Nomail.comwrote in message
news:eL**************@TK2MSFTNGP05.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**************@TK2MSFTNGP02.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.")
.ToolTipTitle = "My Title"
.ToolTipIcon = ToolTipIcon.Info
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.comwrote in message
news:Ok**************@TK2MSFTNGP05.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**************@TK2MSFTNGP04.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.microsoft.comwrote in
message news:89**********************************@microsof t.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.comwrote in message
news:ee**************@TK2MSFTNGP05.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**************@TK2MSFTNGP02.phx.gbl...
I would, but my System.Windows.Forms.Button doesn't have a Tooltip
property.

Charles
"GS" <gs**********************@msnews.Nomail.comwrote in message
news:eL**************@TK2MSFTNGP05.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**************@TK2MSFTNGP02.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.")
.ToolTipTitle = "My Title"
.ToolTipIcon = ToolTipIcon.Info
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.comwrote in
message
news:Ok**************@TK2MSFTNGP05.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**************@TK2MSFTNGP04.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.microsoft.comwrote in
messagenews:89**********************************@m icrosoft.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.comwrote in message
news:ee**************@TK2MSFTNGP05.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**************@TK2MSFTNGP02.phx.gbl...
I would, but my System.Windows.Forms.Button doesn't have a Tooltip
property.
Charles
"GS" <gsmsnews.microsoft.co...@msnews.Nomail.comwrote in message
news:eL**************@TK2MSFTNGP05.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**************@TK2MSFTNGP02.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.")
* * .ToolTipTitle = "My Title"
* * .ToolTipIcon = ToolTipIcon.Info
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.comwrote in
message
news:Ok**************@TK2MSFTNGP05.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**************@TK2MSFTNGP04.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_newsgroups" <ro********@yahoo.comwrote in message
news:29**********************************@8g2000hs e.googlegroups.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.microsoft.comwrote in
messagenews:89**********************************@m icrosoft.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.comwrote in message
news:ee**************@TK2MSFTNGP05.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**************@TK2MSFTNGP02.phx.gbl...
I would, but my System.Windows.Forms.Button doesn't have a Tooltip
property.
Charles
"GS" <gsmsnews.microsoft.co...@msnews.Nomail.comwrote in message
news:eL**************@TK2MSFTNGP05.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**************@TK2MSFTNGP02.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.")
.ToolTipTitle = "My Title"
.ToolTipIcon = ToolTipIcon.Info
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.comwrote in
message
news:Ok**************@TK2MSFTNGP05.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**************@TK2MSFTNGP04.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**************@TK2MSFTNGP03.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_newsgroups" <ro********@yahoo.comwrote in message
news:29**********************************@8g2000hs e.googlegroups.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.microsoft.comwrote 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.comwrote in message
news:ee**************@TK2MSFTNGP05.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**************@TK2MSFTNGP02.phx.gbl...
I would, but my System.Windows.Forms.Button doesn't have a Tooltip
property.
>Charles
>"GS" <gsmsnews.microsoft.co...@msnews.Nomail.comwrote in message
news:eL**************@TK2MSFTNGP05.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**************@TK2MSFTNGP02.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.")
.ToolTipTitle = "My Title"
.ToolTipIcon = ToolTipIcon.Info
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.comwrote in
message
news:Ok**************@TK2MSFTNGP05.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**************@TK2MSFTNGP04.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
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...
16
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...
0
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:...
11
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)...
2
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.