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 » ArrayCtrl, HeaderCtrl & GridCtrl » Change row appearance based on column value in that row
Re: Change row appearance based on column value in that row [message #48730 is a reply to message #48729] Fri, 01 September 2017 13:34 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
What about AddKey ? Which is essentially the same as AddIndex, just checks that it is added as the zero index.

ArrayCtrl list;
list.AddKey(); // not visible
list.AddColumn("Something");

list.Add(1, "One");
list.Add(2, "Two");

list.GoBegin();
ASSERT(list.Get(list.GetCursor(), 0) == 1);
ASSERT(list.GetKey() == 1);
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Cursor row color/headers color in ArrayCtrl and SQLCtrl
Next Topic: How to hide/show gridctrl column at runtime
Goto Forum:
  


Current Time: Tue May 07 12:04:52 CEST 2024

Total time taken to generate the page: 0.02363 seconds