[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Trouble with a Winforms .NET Framework 2.0 list box

Posted on 2009-12-26
1
Medium Priority
?
217 Views
Last Modified: 2013-12-17
I create and populate a listbox but can not find how to display floating help text when the string is too long to display.

I have it adding a horizontal scroll bar, but hope I can make it float a help text without add a library for this. It'd be a nice to have feature but not worth that kind of effort.

Please let me know...

Thanks,
newbieweb
0
Comment
Question by:newbieweb
1 Comment
 
LVL 9

Accepted Solution

by:
magicdlf earned 2000 total points
ID: 26124656
Add a ToolTip Control and this piece of code to your program.
        private void listBox1_SelectedValueChanged(object sender, EventArgs e)
        {
            this.toolTip1.SetToolTip(this.listBox1, listBox1.SelectedItem.ToString());
        }
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

830 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