I have a project , I need to show the Names of Employes in a ListBox .
When a name is Selected , I get the Employee ID from the List box and use it to get the Employe data.
The ListBox does not have a place where you can store Values apart from the one Displayed.
In VB6 each ListBox Item has propertie called itemData.
This is a VB Example below
newIndex = Listbox1.Additem("Sandra Xeon")
ListBox1.itemData(newIndex) = 13456289 ' Sandra Employee ID
How can this be done in DELPHI.....I need Sample Code in Delphi