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 #7727 is a reply to message #7714] Wed, 17 January 2007 12:06 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
unodgs wrote on Tue, 16 January 2007 22:29

forlano wrote on Tue, 16 January 2007 15:46

Hello,

this question regards both arrayctrl and gridctrl.
I know how to set the background color of a cell by using SetDisplay. But what to do to set the background color of a row?

Luigi



GridCtrl:

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


I've used it at runtime, not in the constructor, and I discovered that was necessary to add the instruction grid.Repaint() to see the new color. I guess this is normal.

Luigi
 
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: Sat May 04 06:36:25 CEST 2024

Total time taken to generate the page: 0.02343 seconds