docking pane appearance |
Post Reply |
Author | |
johnp
Groupie Joined: 21 February 2008 Status: Offline Points: 49 |
Post Options
Thanks(0)
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.)?
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Be sure you are making these changes AFTER setting the theme:
DockingPaneManager.VisualTheme = ThemeOffice2007 DockingPaneManager.PaintManager.CaptionFont.Underline = True DockingPaneManager.PanelPaintManager.Appearance = xtpTabAppearanceExcel etc... |
|
johnp
Groupie Joined: 21 February 2008 Status: Offline Points: 49 |
Post Options
Thanks(0)
|
That's great... seems to work better. BTW... while these seems pretty obvious is it anywhere in the documentation?
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
It is, but it is kinda buried:
Each time a 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 Color and Appearance properties can be used to mix appearances and colors. |
|
johnp
Groupie Joined: 21 February 2008 Status: Offline Points: 49 |
Post Options
Thanks(0)
|
Thanks!
|
|
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 |