Print Page | Close Window

Set a CXTPReportRecordItemPreview bold

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


Topic: Set a CXTPReportRecordItemPreview bold
Posted By: FSauer
Subject: Set a CXTPReportRecordItemPreview bold
Date Posted: 21 February 2007 at 7:10am
Hi.
 
Is it possible to set a CXTPReportRecordItemPreview bold, or any other properties for a CXTPReportRecordItemPreview?
 
I just tried it, without any success. The other Items (for example: CXTPReportRecordItemText) work.
 
Do anybody know something about this Item (CXTPReportRecordItemPreview)?
 
Regards
FSauer
 



Replies:
Posted By: FSauer
Date Posted: 21 February 2007 at 8:05am
Hi.
 
I found a solution in the example Utilities\Grep\GrepView.h!
 
I have to derivate the CXTPReportRecordItemPreview Class.
And set the item bold in OnDrawCaption(...) like this:
...
  pDC->SelectObject(&XTAuxData().fontBold);
...
 
Regards
FSauer



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