newby. Associating data with listbox or combobox items

  • Thread starter Thread starter Claire
  • Start date Start date
C

Claire

Is it possible to associate data/objects for each item in a list or combobox
please (as you could with the objects member for tstrings in delphi)
thanks
 
Hi Claire,

Well I think you can store your custom objects themselves in the
ListBox.ItemCollection, provided that the ToString() method implementation
for these objects produces the string you would like to see
displayed in the list box.
 
Back
Top