If the same word appears in both an edit and a listbox, I need the wording in the listbox to be shown in a label. Note that other words will be listed as well, ie:
Example wording in edit: "Do you want elephant.gif?"
Example wording in listbox:
In the above example, I want "animal/elephant.gif" as a label.
I am using Delphi 6. Many thanks for your help.