Microsoft
Software
Hardware
Network
Question : Trouble with a Winforms .NET Framework 2.0 list box
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
Answer : Trouble with a Winforms .NET Framework 2.0 list box
Add a ToolTip Control and this piece of code to your program.
private void listBox1_SelectedValueChan
ged(object
sender, EventArgs e)
{
this.toolTip1.SetToolTip(t
his.listBo
x1, listBox1.SelectedItem.ToSt
ring());
}
Random Solutions
"Service Unavailable" for all ASP pages, but all html pages OK (intermittent)
Server 2008 to 2003 forest as a new Domain Controller
print small fonts (The number must be between 10 and 400...
Passing Paremeters to AddHandler Method in VB.NET
Visual Studio 2008 C# call external program
What would be the ideal budget server configuration for 25 exchange users in one office?
SQL 2008 Database
Unable to Install Microsoft Hotfix KB970895
URL Injection flaw - OWA 2003
Color handling of a CEdit !