Home » U++ Library support » U++ Widgets - General questions or Mixed problems » BUG? DropList shows first of entries with same key
BUG? DropList shows first of entries with same key [message #32143] |
Wed, 27 April 2011 17:34 |
|
kohait00
Messages: 939 Registered: July 2009 Location: Germany
|
Experienced Contributor |
|
|
hi
a DropList with such entries
dl.Add(100, "Apple");
dl.Add(100, "Cherry");
dl.Add(101, "Pear");
dl.Add(100, "Berry");
will always show 'Apple' even if Cherry or Berry are selected.
it's due to Sync() method which key.Find()'s the value of the first entry only..(typical Map/Index behaviour).
it'd be great to be able to select the entries independantly, even if they got the same key..
is that possible somehow?
[Updated on: Wed, 27 April 2011 17:35] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Wed Jun 05 06:03:34 CEST 2024
Total time taken to generate the page: 0.01648 seconds
|