Print Page | Close Window

SOLVED: Set the Group Row Height

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=11415
Printed Date: 20 July 2025 at 7:22am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SOLVED: Set the Group Row Height
Posted By: markmark
Subject: SOLVED: Set the Group Row Height
Date Posted: 12 July 2008 at 6:13am
Hi
 
When I group using the code
wndReportControl.GroupsOrder.add wndReportControl.Columns(5)
 
the group row height is about twice the normal row height.
 
Is there a way in code to resize the group row height the same as all the other rows.
 
Thanks for your Help
 
 
MArk



Replies:
Posted By: Aaron
Date Posted: 12 July 2008 at 8:05am
Hi,
 
You can use:
 
wndReportControl.SetCustomDraw xtpCustomMeasureRow
 

Private Sub wndReportControl_MeasureRow(ByVal Row As XtremeReportControl.IReportRow, ByVal hDC As stdole.OLE_HANDLE, ByVal Width As Long, Height As Long)
   
    If Row.GroupRow Then Height = 20 

End Sub
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: markmark
Date Posted: 12 July 2008 at 9:59am
Thanks you very Aaron
 
 
MArk


Posted By: markmark
Date Posted: 12 July 2008 at 10:19am
Done

-------------
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0



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