Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Getting row index from Display
Getting row index from Display [message #41130] |
Sun, 03 November 2013 18:12 |
crydev
Messages: 151 Registered: October 2012 Location: Netherlands
|
Experienced Member |
|
|
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
|
|
|
|
|
Re: Getting row index from Display [message #41145 is a reply to message #41143] |
Wed, 06 November 2013 08:24 |
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?
|
|
|
Goto Forum:
Current Time: Thu Apr 25 08:37:11 CEST 2024
Total time taken to generate the page: 0.02963 seconds
|