K
Ken
Hi all,
Please help! I'm attempting to apply tooltips to each
individual item in VB.Net's Listview control. In VB6 it
was easy - you just did the following
(assumes "myListView" is the name of the ListView
control):
set lst = myListView.ListItems.Add
lst.Text = "Test1"
lst.ToolTipText = "Test1 Label"
I can't work out the equivalent in the VB.Net Listview
control though. It seems that you have to add a Tooltip
control to the form, and then set which control it should
apply to, for example:
myToolTip.SetToolTip(myListView, "My Tooltip text")
However this only applies the tooltip to the whole
listview control, not the individual items.
Any help much appreciated!!
Cheers,
Ken
Please help! I'm attempting to apply tooltips to each
individual item in VB.Net's Listview control. In VB6 it
was easy - you just did the following
(assumes "myListView" is the name of the ListView
control):
set lst = myListView.ListItems.Add
lst.Text = "Test1"
lst.ToolTipText = "Test1 Label"
I can't work out the equivalent in the VB.Net Listview
control though. It seems that you have to add a Tooltip
control to the form, and then set which control it should
apply to, for example:
myToolTip.SetToolTip(myListView, "My Tooltip text")
However this only applies the tooltip to the whole
listview control, not the individual items.
Any help much appreciated!!
Cheers,
Ken