Print Page | Close Window

customizing report control group box

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=10883
Printed Date: 28 April 2024 at 5:51am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: customizing report control group box
Posted By: younicke
Subject: customizing report control group box
Date 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?





Replies:
Posted By: Aaron
Date 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....


Posted By: younicke
Date 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



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