Display Tooltip When Control Recieves Focus

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to display a ToolTip (WinForms) when the Control associated recieves focus (when the control.enter event is triggered) as oppose to having the ToolTip displayed when the mouse hovers over the control,How can this be accomplished(Im developing in C#)?
 
Hi Vinny,

Your question is not very clear but as I got it

you should be able to do it by just dragging the Tool Tip control you found
in the Tool box directly to the Form. once you did it you will havethe tool
tip property available for the control in that form.

Nirosh.
Vinny Vin said:
I would like to display a ToolTip (WinForms) when the Control associated
recieves focus (when the control.enter event is triggered) as oppose to
having the ToolTip displayed when the mouse hovers over the control,How can
this be accomplished(Im developing in C#)?
 
That will Set The ToolTip to The Specified Control ,But The ToolTip Message Is Only Displayed When The Mouse Hovers Over The Control.I Would Like The ToolTip Message To Be Displayed When The Control Recieves Focus.
 
I guess you have bit of a work here one is writting a tool tip class by
extending the exiting one, here you may have to refer to the c# spec and
find which method fired when mouse hoover a control and you can fire the
same method as the focus event fired.

Again there are some other control like balloon tip control, you may find it
if you search in google, which even you can develop quite easilly,

Nirosh.

Vinny Vin said:
That will Set The ToolTip to The Specified Control ,But The ToolTip
Message Is Only Displayed When The Mouse Hovers Over The Control.I Would
Like The ToolTip Message To Be Displayed When The Control Recieves Focus.
 
Nirosh

I was hoping there was another than tearing apart the tooltip controls dll,but a guess there isnt

Thanks for your help
Vinny
 
Back
Top