[SOLVED] Group Row Backcolor |
Post Reply |
Author | |
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
Posted: 26 February 2010 at 12:09pm |
I see a PaintManager.GroupForecolor property, but not a corresponding GroupBackcolor property. Is it possible to change the background color of a group row?
|
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
You have this:
wndReportControl.PaintManager.ShadeGroupHeadings = True wndReportControl.PaintManager.GroupShadeBackColor = vbRed wndReportControl.PaintManager.GroupShadeBorderColor = vbGreen Or else you have to catch it in BeforeDrawRow: Private Sub wndReportControl_BeforeDrawRow(ByVal Row As XtremeReportControl.IReportRow, ByVal Item As XtremeReportControl.IReportRecordItem, ByVal Metrics As XtremeReportControl.IReportRecordItemMetrics) If Row.GroupRow Then Metrics.BackColor = vbRed End If End Sub |
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
|
Great thanks alot! I missed the .ShadeGroupHeadings = True.
|
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
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 |