Print Page | Close Window

v17 Beta 1 Row Color Bug

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=22653
Printed Date: 29 August 2025 at 8:07pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: v17 Beta 1 Row Color Bug
Posted By: markr
Subject: v17 Beta 1 Row Color Bug
Date Posted: 02 July 2015 at 4:10pm
In XTP V17 Beta 1, setting the color of a report control AND making it bold will cause the color to be lost.

For example, if I override GetItemMetrics for a report record and do this:

pDrawArgs->pItem->SetTextColor(COLORREF_BLUE);

... then the report row will render in the expected color (blue in this case).

However, if I do this:

pDrawArgs->pItem->SetTextColor(COLORREF_BLUE);
pDrawArgs->pItem->SetBold(TRUE);

... then the report row will be displayed in a bold font, but will NOT be rendered in blue. So it seems we can have one or the other, but not both, which is a bug.

This combination worked fine in the v16.3.0 release.

Regards,

Mark R.



Replies:
Posted By: astoyan
Date Posted: 09 July 2015 at 11:41pm
Thanks for catching this one. The issue has been fixed.
Regards,
  Alexander


Posted By: markr
Date Posted: 10 July 2015 at 11:19am
Excellent, thanks again.


Posted By: Romonaga
Date Posted: 16 July 2015 at 1:26pm
This is broke in the 16.4 as well. I need this to work, however I can not use BETA software. Please advise how I can patch 16.4 to fix this.

** UPDATE **
While I was able to Create and Set my own font to handle this bug in the control, I still would like to know how I can patch 16.4 to fix this broken feature. Glaring bug is Glaring bug.



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