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
move to a row in listview control - MS Access 2003
Sound recorder does not work
error LNK2001: unresolved external symbol _CLSID_DccMan????
Creating a word document programatically
String is a palindrome or not program !!
dot replace with "," in VB
control name "xxx" is misspelled or refer to a control that doesn't exist
"The Directory Service was unable to allocate a relative identifier." when adding machines to AD
Trying to connect to windows xp print server using windows 7
Validate front end server configuration error