U++ framework
Do not panic. Ask here before giving up.

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: 14291
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: Sun Jul 12 08:44:35 GMT+2 2026

Total time taken to generate the page: 0.00557 seconds