This is a migrated thread and some comments may be shown as answers.

How to create a tabbed MDI with default-system look?

3 Answers 140 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Valts Sondors
Top achievements
Rank 1
Valts Sondors asked on 17 Feb 2010, 11:18 PM

I'm trying to create a simple tabbed MDI application. It won't even have dockable toolbars or anything, just a tab bar with open documents. I could do a traditional MDI, but I think that tabbed MDI is easier to use and more modern.

I would also like my application to retain the "default system" look that users are familiar with instead of using fancy color schemes and custom control styles.

How can I best achieve this? I tried the RadDock, and while it does provide the tabbed MDI part, the theming support for it is still incomplete and I can't get the standard look. I could also try to use a simple RadTabStrip, but for that I can't find any options to add a "close"  button next to each item.

What would be the recommended way?

3 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 22 Feb 2010, 01:54 PM
Hi Valts Sondors,

Thank you for contacting us.

Q3 2009 SP1 (v2009.3.9.1203) introduced a theme which gives the basic look of Visual Studio. Only the close buttons of the tabs are blue, by they can be easily replaced in a custom Visual Studio theme. I am attaching a sample project which demonstrates the approach. Just open the DockTabStrip.VS2008 file and find the TabCloseButton selectors. Change the Image property values to the base64 strings of your images.

In addition, I am glad to inform your that we released the Beta version of Q1 2010 containing the new Visual Style Builder. This Visual Style Builder allows you to create a custom theme for RadDock. We will be happy to receive your feedback on the process of creating custom themes with the new VSB. The following support resources will help you to get started:
http://www.telerik.com/help/winforms/vsb_overview.html
http://www.telerik.com/help/winforms/vsb_architecture.html
http://www.telerik.com/help/winforms/vsb_concepts.html
http://www.telerik.com/help/winforms/vsb_gettingstarted.html
http://tv.telerik.com/winforms/visualstylebuilder/whats-new-visual-style-builder-q1-2010

I hope this helps. If you have additional questions, feel free to contact me.

All the best,
Nikolay
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Valts Sondors
Top achievements
Rank 1
answered on 23 Feb 2010, 04:32 PM
Thank you, this is exactly what I was looking for! With the style XML file I can now customize it the way I like.

I wonder though - I do have the 2009 Q3 SP1 RadControls, but I can't find this XML file there. Where should I look for it? I'm new to your RadControls, this is my first project/attempt at using them, so I'm only starting to find my way around.
0
Nikolay
Telerik team
answered on 23 Feb 2010, 04:55 PM
Hello Valts Sondors,

The Visual Studio 2008 theme of RadDock is contained in the Miscellaneous theme component. As a customer, you have access to our Source Code (Your Account >> Downloads >> RadControls for WinForms >> Documentation, CAB Enabling Kit, Source Code), so you can find the xml files in the RadControlsThemes.Miscellaneous class library project.

Should you need additional assistance, do not hesitate to contact me back.

Sincerely yours,
Nikolay
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Dock
Asked by
Valts Sondors
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Valts Sondors
Top achievements
Rank 1
Share this question
or