Print Page | Close Window

BUG: Expand group and alternate coloring wrong

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=23322
Printed Date: 22 September 2024 at 1:22am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: BUG: Expand group and alternate coloring wrong
Posted By: mgampi
Subject: BUG: Expand group and alternate coloring wrong
Date Posted: 22 April 2017 at 9:31am
Hi;

Using v17.3.0 I set up the report control to use alternate coloring and grouping.
In one of my test cases I added only one record per group and then I recognized that the alternate color is used all the time when the first group row is expanded otherwise the default background color is correctly used:

Before - not expanding the first group row:



After - the first group row is now expanded:



You see, the same records get different colors depending on the expand state of the first group row. CRAZY!
When I finally collapse the first group record I have the same appearance as in the first screenshot - the color changes to the default coloring.
I believe the algorithm for switching colors is not distinguishing between group rows and regular rows! See void CXTPReportPaintManager::FillRow(CDC* pDC, CXTPReportRow* pRow, CRect rcRow) function!

Hope to get this fixed soon.


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



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