Refresh Theme Change |
Post Reply |
Author | |
markp.uk
Groupie Joined: 23 August 2006 Status: Offline Points: 38 |
Post Options
Thanks(0)
Posted: 26 May 2008 at 2:38am |
When changing the colour of the office 2007 theme, the commandbars has the method refreshmetrics to repaint the controls with the new colour set, how can you obtain the same functionality with the DockingPaneManager, TabControl and PropertyGrid???? You can change the colour set with the office2007imges property but i cannot get these controls to repaint themselves with the new colour set, apart from restarting the program.
|
|
joeliner
Senior Member Joined: 09 June 2006 Status: Offline Points: 273 |
Post Options
Thanks(0)
|
Try setting the visualtheme of the control, this in essence repaints the control. for example;
tabmanager1.PaintManager.Appearance = xtpTabAppearancePropertyPage2007 regards, |
|
Onur
Groupie Joined: 17 August 2005 Status: Offline Points: 37 |
Post Options
Thanks(0)
|
Call the RecalcLayout() method... the control will refresh/repaint itself..
|
|
Product: Xtreme SuitePro (ActiveX) version 12.0.1
Platform: Windows XP (32bit) - SP 2 Language: Visual C# .NET |
|
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 |