12-03-2021, 05:23 AM
(This post was last modified: 12-03-2021, 05:29 AM by Alexandre Machado.)
Before even testing it... values shouldn't be the same for different items. The value is the KEY of the list and there is no way to distinguish one from the other if you have identical values for two different items.
If you want that 2 different items behave the same in your event handler, you need to treat 1, 2 and 3 the same, not giving first, second and third item the same value "1".
Imagine a LookupComboBox (from VCL, not IW) where all KeyValues of the list have the same value?
If you want that 2 different items behave the same in your event handler, you need to treat 1, 2 and 3 the same, not giving first, second and third item the same value "1".
Imagine a LookupComboBox (from VCL, not IW) where all KeyValues of the list have the same value?

