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 #48731 is a reply to message #48730] Fri, 01 September 2017 15:26 Go to previous messageGo to previous message
slashupp is currently offline  slashupp
Messages: 231
Registered: July 2009
Experienced Member
That works well, thx mirek.

---
Can I assume that AddKey() and AddIndex() effectively adds hidden columns
that I then can access through column-order-index?
e.g.:
    ar.AddIndex(); ar.AddColumn(); ar.AddIndex();

and I can access these with:
    int idx=ar.GetCursor();
    if (idx>=0)
    {
        int first_index=ar.Get(idx, 0);
        int first_data=ar.Get(idx, 1);
        int second_index=ar.Get(idx, 2);
        ...
    }

 
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 17:28:30 CEST 2024

Total time taken to generate the page: 0.02064 seconds