Print Page | Close Window

refresh after style change

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=5994
Printed Date: 03 October 2024 at 6:13pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: refresh after style change
Posted By: gaudetm
Subject: refresh after style change
Date Posted: 04 January 2007 at 11:35pm
use the sample commandbars ribbon with code to change from blue to aqua or black but include a dockingpane1 control with office 2007 style than change the style in the executable
 
bug on the refresh client part and dockingpane also
 



Replies:
Posted By: gaudetm
Date Posted: 04 January 2007 at 11:37pm
https://forum.codejock.com/uploads/20070104_233703_screenshot.zip - uploads/20070104_233703_screenshot.zip


Posted By: Oleg
Date Posted: 05 January 2007 at 2:28am

Hi,

Here code you can use
 
     Case ID_OPTIONS_STYLEBLACK:

            DockingPaneGlobalSettings.Office2007Images = App.Path & "\Styles\Office2007Black.dll"
            DockingPane1.PaintManager.CaptionMargin = DockingPane1.PaintManager.CaptionMargin ' to refresh metrics
            DockingPane1.RedrawPanes
...
 


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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