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 » ColumnList - Set(Value key, Value val) - Working right?
ColumnList - Set(Value key, Value val) - Working right? [message #28190] Sat, 21 August 2010 16:55 Go to previous message
jeremy_c is currently offline  jeremy_c
Messages: 175
Registered: August 2007
Location: Ohio, USA
Experienced Member
I have the following code:

Value id = codelist.GetData();
codelist.Set(id, "Hello World!")


It does not change the selected item. Instead it seems to be changing the item at an index of "id".

This code works as expected:

int idx = codelist.Find(id);
codelist.Set(idx, ~d.value);


From Assist++ it seems that .Set(Value key, Value val) should set it based on key, thus the first example should have worked?

Jeremy
 
Read Message
Read Message
Read Message
Previous Topic: Window move virtual function
Next Topic: VC10 not recognized in autosetup
Goto Forum:
  


Current Time: Tue May 07 23:45:08 CEST 2024

Total time taken to generate the page: 0.04017 seconds