Solved

Tooltip display for the combobox dropdown list portion

Posted on 2004-10-11
10
382 Views
Last Modified: 2011-04-14
I need tooltip to be displayed for the combobox dropdown list portion,
when the mouse hovers it.
Am using windows forms in vb.net.
Any snippets or suggestion will be appreciated.

Regards
Bharat Beans
0
Comment
Question by:BharatBeans
10 Comments
 

Expert Comment

by:Mamine
ID: 12275033
Add a hidden label for your tooltip and use the _MouseHover event to display it (and the _MouseLeave event to hide it again when the user stops hovering)
0
 
LVL 10

Accepted Solution

by:
Hans Langer earned 500 total points
ID: 12278075
Hi,
Drag a ToolTip control to the MainForm and add this code in the MainForm_Load Event.

Private Sub MainForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
      ToolTip1.SetToolTip(ComboBox1, "Surprise")
End Sub

GL
0
 

Expert Comment

by:Mamine
ID: 12278131
Wow! You can get a tooltip control ? Where do you find it Gerente ?
0
 
LVL 10

Expert Comment

by:Hans Langer
ID: 12278680
I just get it from toolbar :D (maybe VS.net 2002 dont have it, i dont know)
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Expert Comment

by:Mamine
ID: 12281206
I have VS 2003 but I still don't have it! Are you sure its not a separate download ?
0
 
LVL 4

Expert Comment

by:eozz_2000
ID: 12281626
It is between HelpProvider and ContextMenu
0
 

Author Comment

by:BharatBeans
ID: 12284458
Hey Gerente and other friends
I need the tooltip to be displayed for the mouse hover of the list portion that is displayed,
When the combo dropsdown, not just for the combobox.
Thanx for the attempt....
Bharat Beans
0
 

Expert Comment

by:Mamine
ID: 12285365
Thx Gerente - found it now - shame there's not one that  easy for web forms ... rol on asp.net v2 hehe
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now