Print Page | Close Window

Colors in CXTPReportControl

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=2922
Printed Date: 30 January 2025 at 4:57pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Colors in CXTPReportControl
Posted By: yaron
Subject: Colors in CXTPReportControl
Date Posted: 20 September 2005 at 10:50am

Hi,

I wonder if I can change the colors of a specific cell in CXTPReportControl ? Is it possible to change the background color and the text color ? If not, is it possible to change the background colors for a row.

Please help me out here,

thanks, yaron. 




Replies:
Posted By: sserge
Date Posted: 21 September 2005 at 5:50am
Hi,

Look into following overridable methods:
CXTPReportControl::GetItemMetrics
CXTPReportRecordItem::GetItemMetrics
CXTPReportRecord::GetItemMetrics
CXTPReportRow::GetItemMetrics

In the ReportSample look into MessageRecord.cpp for example of how it could be handled.

--
Best regards,
Serge


Posted By: owyo
Date Posted: 03 August 2010 at 3:54am

Finally, I found it.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net