ListBox . SetItemData ???

  • Thread starter Thread starter Daniel P.
  • Start date Start date
In .Net Listbox, you can throw in any object, not just text. If that's the
case, you can create your own class that has an extra "Tag" property and add
objects of that class to the ListBox. Just override the ToString method to
control what you want to display in the listbox.

-vJ
 
Cool! It worked! Thanks!

Vijaye Raji said:
In .Net Listbox, you can throw in any object, not just text. If that's the
case, you can create your own class that has an extra "Tag" property and add
objects of that class to the ListBox. Just override the ToString method to
control what you want to display in the listbox.

-vJ
 
Back
Top