Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - customizing report control group box
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

customizing report control group box

 Post Reply Post Reply
Author
Message
younicke View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 March 2005
Status: Offline
Points: 107
Post Options Post Options   Thanks (0) Thanks(0)   Quote younicke Quote  Post ReplyReply Direct Link To This Post Topic: customizing report control group box
    Posted: 03 June 2008 at 1:47am
how do i change the backcolor of the GroupByNoItemsText when using the columnstyle = xtpColumnOffice2003? I can change the backcolor of the groupbybox but cannot change the backcolor of the "Drag a column header..." text. Any way to do it?


Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 03 June 2008 at 3:35am
Hi,
 
There is a way of doing this......
 
ReportControlGlobalSettings.ColorManager.SetColor STDCOLOR_BTNFACE, wndReportControl.PaintManager.GroupBoxBackColor
 
IMPORTANT: This will change all items set with color (vb)ButtonFace as well !!!!
 
You have to be carefull with this, I tried to set a color and now I can't get it back as it was. Seems that GlobalSettings will be saved somewhere
 
I suggest you pick a safer way and have the GroupBoxBackColor set to vbButtonface
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....
Back to Top
younicke View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 March 2005
Status: Offline
Points: 107
Post Options Post Options   Thanks (0) Thanks(0)   Quote younicke Quote  Post ReplyReply Direct Link To This Post Posted: 03 June 2008 at 3:50am
thanks aaron, it worked.

i almost thought that its not possible as i already have tried almost all the properties of the paintmanager of the rc control.

thanks again
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.