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 » GridCtrl: Display and cells of other coloumns
Re: GridCtrl: Display and cells of other coloumns [message #9101 is a reply to message #9099] Tue, 17 April 2007 12:26 Go to previous message
unodgs is currently offline  unodgs
Messages: 1367
Registered: November 2005
Location: Poland
Ultimate Contributor

Hi!

Yes, I know the problem. That's why there is parent variable in GridDisplay class pointing to GridCtrl object. Now your code should look like this one:

void GridDisplay::Paint(..)
{
if(parent->Get(MYCOL) == 1)
bg = Red;
else
bg = White;
}

 
Read Message
Read Message
Previous Topic: SqlArray: mouse selection
Next Topic: GridCtrl package compile error
Goto Forum:
  


Current Time: Fri Aug 29 12:13:08 CEST 2025

Total time taken to generate the page: 0.04869 seconds