M
Merlin
Been using VS NET for a while now but never really used the Standard ListBox
control until now and whoops! where's the ItemData method gone - damn!,
can't Microsoft leave things alone.
Anyway did a quick read up and found that Listbox is not limited to strings
anymore and each item can contain an object bla bla bla...Z Z z z z...
Can someone please put me out of my misery and just quickly show me how to
add a string item and a value like in the VB6 version. Been looking for
examples but can't actually find anything that actually gets to the point.
All I want to do is add 20 text items with an associated Long number(key).
and when I select an item, to be able to also access the (key).
Many Many thanks.
Merlin
control until now and whoops! where's the ItemData method gone - damn!,
can't Microsoft leave things alone.
Anyway did a quick read up and found that Listbox is not limited to strings
anymore and each item can contain an object bla bla bla...Z Z z z z...
Can someone please put me out of my misery and just quickly show me how to
add a string item and a value like in the VB6 version. Been looking for
examples but can't actually find anything that actually gets to the point.
All I want to do is add 20 text items with an associated Long number(key).
and when I select an item, to be able to also access the (key).
Many Many thanks.
Merlin