Print Page | Close Window

how to modify the backgroundcolor of a report ctrl

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=24071
Printed Date: 06 March 2021 at 5:23am


Topic: how to modify the backgroundcolor of a report ctrl
Posted By: yangyanhui
Subject: how to modify the backgroundcolor of a report ctrl
Date Posted: 27 September 2020 at 9:14pm
HI,I want to know how to modify the backgroundcolor of the header of a report ctrl



Replies:
Posted By: yangyanhui
Date Posted: 14 October 2020 at 10:17pm
can I repaint the header of a report ctrl?


Posted By: Fredrik
Date Posted: 15 October 2020 at 7:01pm
Check the members of CXTPReportPaintManager - there is a  m_clrHeaderControl member. If chainging that doesn't look good, derive your own theme from CXTPReportPaintManager and override DrawColumnBackground. 

-------------
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0



Print Page | Close Window