Topic: Index number from a list of values.
Hello,
Have struggled with this for a while now, so i really need some help.
I have a Field/Combox in a form with some data:
Sweden
Canada
Germany
France
Norway
Denmark
The number of values in the list increases when a i add a new country.
What i need is a way to find the Item Index for a Value.
InForm.Combobox3.ItemIndex := 4; would fill in the ComboBox3 with the value *France'
But if i want to go the other way and find the Itemindex for 'Norway'. Is that possible?
Thanks in advance