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 » Getting row index from Display
Re: Getting row index from Display [message #41145 is a reply to message #41143] Wed, 06 November 2013 08:24 Go to previous message
crydev is currently offline  crydev
Messages: 151
Registered: October 2012
Location: Netherlands
Experienced Member
mirek wrote on Tue, 05 November 2013 15:30

crydev wrote on Sun, 03 November 2013 12:12

Hello,

I want to change the cell text color of my ArrayCtrl cells. I already fixed that, but there is one more thing.

The color of the cell/row depends on something else. This is globally accessable. I just need to know how I can access the row number of the currently drawn cell. Is that possible?

Thanks in advance,

crydev


Just for record (because you have abandoned the idea):

The most straightforward way is to use AddRowNumColumn.

Mirek


That is interesting, because I already use that function, combined with SetVirtualCount and Convert structs to increase performance and memory consumption. How would I access the row number then?
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Editing + JoinFixedCells bug
Next Topic: Row autoheight with LineEdit
Goto Forum:
  


Current Time: Sat Apr 20 00:44:53 CEST 2024

Total time taken to generate the page: 0.06158 seconds