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 » How to set the color of a row
Re: How to set the color of a row [message #34272 is a reply to message #7727] Mon, 07 November 2011 16:27 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1189
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

I used

grid.GetRow(x).Bg(Red);

to set red the color of some row of a gridctrl where the rows are white and blu depending of their parity
( grid.ColorRows().EvenColor(SColorText, Blend(SColorMark, SColorPaper, 220)); ) .
The red color depend of the value in a coloumn. So in some case the cell need to be set at its default color.
How to remove the red color and leave the default color?

Thanks,
Luigi

[Updated on: Mon, 07 November 2011 16:41]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ArrayCtrl speedy writes cause crashing...why?
Next Topic: GridCtrl: master detail interactions
Goto Forum:
  


Current Time: Mon Jun 10 19:09:13 CEST 2024

Total time taken to generate the page: 0.01865 seconds