Print Page | Close Window

Report Control Grouping

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


Topic: Report Control Grouping
Posted By: Prassi
Subject: Report Control Grouping
Date Posted: 30 March 2007 at 4:42pm
Can anyone please suggest how to get rid of the lines that are pointed in the following Report Control. These lines come up as separators between group and thier child rows. Basically, I am trying to achieve a close look and feel of a tree control using Report Control. It will help a lot if I can even change the style and color of these lines as I will need to show collapsed child rows initially when the data is shown in this view.
 



Replies:
Posted By: mgampi
Date Posted: 02 April 2007 at 6:38pm
Hi;
I believe that you have to create your own CXTPReportPaintManager derived class and overwrite DrawGroupRow() or as a simple workaround set the protected m_nGroupGridLineHeight member to 0. Inside DrawGroupRow the Line is drawn by calling FillSolidRect with nGroupGridLineHeight as the height. I think when you set this to 0 the 'line' disappears.
 
But I suggest looking at the ReportSample - there you find a simple way to create treeview like reports.


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

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022



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