![]() |
SOLVED: Set the Group Row Height |
Post Reply ![]() |
Author | |
markmark ![]() Senior Member ![]() Joined: 30 November 2007 Status: Offline Points: 142 |
![]() ![]() ![]() ![]() ![]() 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
|
|
![]() |
|
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
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.... |
|
![]() |
|
markmark ![]() Senior Member ![]() Joined: 30 November 2007 Status: Offline Points: 142 |
![]() ![]() ![]() ![]() ![]() |
Thanks you very Aaron
MArk
|
|
![]() |
|
markmark ![]() Senior Member ![]() Joined: 30 November 2007 Status: Offline Points: 142 |
![]() ![]() ![]() ![]() ![]() |
Done
|
|
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |