Click here to Skip to main content
15,892,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello friends want to show the caption of a button control on mouse enter event... like when u will take mose over the button or mouse will enter on the button control, it will show what function button control perform.. in a pop up kind way.. its very common in use i think...

seems its very simple thing , but didnt find it on google :P .. its just like caption control in HTML link ....




thanks.
Posted

Most of the controls have TootlTip property.
Add a text to this property. Now when you hover your mouse over the control, it will show that text.

Added--
And if it's a Windows application, add a ToolTip from the toolbox on the form. And the property will be available for the controls on the form.
 
Share this answer
 
v2
Hello,
Drag and drop ToolTip control from the toolbox
Now
select the button property and select ToolTip on toolTip1 and write what u wana right and you are done, run the application and see the magic

Thanks & Regards
Radix :rose:
 
Share this answer
 
^^
Hello thanks buddy , it works :) like




ToolTip1.SetToolTip=(Your Control,"Your Tip for the control")




:)
 
Share this answer
 
Comments
Ankur\m/ 14-May-10 8:07am    
It should have come as a comment and not answer. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900