Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » ColorRows() in GridCtrl - Strange code. Help pls.
Re: ColorRows() in GridCtrl - Strange code. Help pls. [message #19606 is a reply to message #19593] |
Mon, 22 December 2008 17:27   |
|
No, nothing is strange, just haven't seen this code for a long time . The idea behind ColorRows/ColorCols was to enable or disable coloring of even rows/cols with single method call. They are just "wrappers" to ColoringMode, Even(Odd)Color sequence. So to enable your custom coloring scheme call EvenColor after ColorRows or call it with ColoringMode method without taking care of call order.
I know ColorRows is more readable than ColoringMode(1) but I won't change it now (you can achieve what you want in a little bit different way)
|
|
|
Goto Forum:
Current Time: Wed Aug 27 17:50:52 CEST 2025
Total time taken to generate the page: 0.06721 seconds
|