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
Could not find installable ISAM, sql server 2005, SP3
Concatenate in Query with Leading Zero
How do I get correct calculations using Dcount in a Report that is based on a filtered table?
monitor file creation in specific folder
Please correct query
Excel 2007 / 2003 Compatibility issue from Macro
How to set AutoIncrement Property of a field ?
Conert "text" to CTime
Sharepoint permissions not pulling users from Active Directory.
How do I create a new MS Access file when copying linked MSQL Tables to a local MS Access table?