Windows Theme Change Colors |
Post Reply |
Author | |
Willowmaster
Senior Member Joined: 12 July 2010 Location: Netherlands Status: Offline Points: 180 |
Post Options
Thanks(0)
Posted: 09 September 2011 at 6:54am |
When changing the windows theme to a highcontrast theme the reportcontrol background color won't be updated. Is there a way to tell the reportcontrol to update its systemcolors? I've tried these function:
- ColorManager.SetColor(lngColorLoop, ColorManager.Color(lngColorLoop)) - Paintmanager.Refreshmetrics
- Redraw
Thanks in advance!
|
|
Product: Xtreme SuitePro (ActiveX) version 15.3.1
Platform: Windows XP (32bit) - SP 3 (on VMWare) Language: Visual Basic 6.0 |
|
Willowmaster
Senior Member Joined: 12 July 2010 Location: Netherlands Status: Offline Points: 180 |
Post Options
Thanks(0)
|
Alright. I found out that this is a control problem. The report control is on a usercontrol and the usercontrol is on a picturebox therefore does not receive the right messages to update its colors. Without the picturebox the reportcontrol updates its colors but it doesn't redraw until you select the form the reportcontrol is on. Fonts are not updated at all. When you set a different or a bigger font the reportcontrols font stays the same. Even after a Paintmanager.Refreshmetrics and then a redraw.
|
|
Product: Xtreme SuitePro (ActiveX) version 15.3.1
Platform: Windows XP (32bit) - SP 3 (on VMWare) 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 |