![]() |
OneNote colors |
Post Reply ![]() |
Author | |
Woody ![]() Newbie ![]() Joined: 07 July 2004 Status: Offline Points: 20 |
![]() ![]() ![]() ![]() ![]() Posted: 07 July 2004 at 8:01am |
Is it possible to apply a single color to the OneNote-style MDI tabs, instead of multiple colors which do not match my program's color scheme? And can tab font size be increased - just how far can I go with customization?
|
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
This sample code illustrates how to change the tab color of the first
three tabs in a MDI application. The tabs must already be created
before you can change their color.
fMainForm.CommandBars.TabWorkspace.Item(0).Color = vbRed fMainForm.CommandBars.TabWorkspace.Item(1).Color = vbGreen fMainForm.CommandBars.TabWorkspace.Item(2).Color = vbBlue This will turn off OneNoteColors: fMainForm.CommandBars.TabWorkspace.PaintManager.OneNoteColor s = False You can't change the font, take a look at the properties of the TabPaintPanager object to see all the different properties you can customize. Also take a look at the TabManager Sample project. Edited by SuperMario |
|
![]() |
|
Woody ![]() Newbie ![]() Joined: 07 July 2004 Status: Offline Points: 20 |
![]() ![]() ![]() ![]() ![]() |
that helps, 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 |