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
Retrieving just the first instance of each customer using SQL
Help Using RtlMoveMemory from kernel32 in VB.NET
MP3 & 4 burn to audio cd with win 7
Access / VBA / return to previous record after form after update event triggers
How do you set up a SQL report to export multiple sheets to Excel?
hidden files on server - windows 2003 server
Cannot extract bitmap from resources section of app!
ASP.NET - Database Class
Receiving error code 0x800702e4 when trying to download with InDownloadMngr while in IE 8 with Win7 runing (64 bit) what do I do?
what is the ip address of a web site? What happens when you change the ip address?