Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
kohait00 is currently offline  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

 
Read Message
Read Message
Read Message
Previous Topic: static Ctrl causes running failure
Next Topic: Wanted : Graphic designer
Goto Forum:
  


Current Time: Sat Apr 27 09:00:28 CEST 2024

Total time taken to generate the page: 0.05923 seconds