docking pane appearance
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=9667
Printed Date: 07 February 2025 at 9:48am Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: docking pane appearance
Posted By: johnp
Subject: docking pane appearance
Date Posted: 22 February 2008 at 10:27am
Okay, now I'm playing around a bit with the paintmanager, panelpaintmanager, and tabpaintmanager properties for my docking pane. I'm working with an sdi forn in vb6. Making changes to many of the properties (e.g., appearance, color, hottracking) don't seem to have any effect on the appearance of my panels or tabs. I am settng these properties in my form_activate event. Are there certain combinations of settings that must be used together? Is there a particular order that the properties must be set? Do I need to do anything after setting the properties (I have tried recalclayouts, redrawapanes, etc.)?
|
Replies:
Posted By: SuperMario
Date Posted: 22 February 2008 at 11:58am
Be sure you are making these changes AFTER setting the theme:
DockingPaneManager.VisualTheme = ThemeOffice2007
DockingPaneManager.PaintManager.CaptionFont.Underline = True DockingPaneManager.PanelPaintManager.Appearance = xtpTabAppearanceExcel
etc...
|
Posted By: johnp
Date Posted: 22 February 2008 at 12:14pm
That's great... seems to work better. BTW... while these seems pretty obvious is it anywhere in the documentation?
|
Posted By: SuperMario
Date Posted: 22 February 2008 at 12:20pm
It is, but it is kinda buried:
Each time a XtremeDockingPane%7EDockingPane%7EVisualTheme.html - VisualTheme is
applied, the color settings will be updated with the colors for the selected
theme. If the theme is changed, the the members of ColorSet
must be updated to show the custom colors. The XtremeDockingPane%7ETabPaintManager%7EColor.html - Color and XtremeDockingPane%7ETabPaintManager%7EAppearance.html - Appearance
properties can be used to mix appearances and colors.
|
Posted By: johnp
Date Posted: 22 February 2008 at 12:32pm
|