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

Tab display ico

4 Answers 97 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 17 Jan 2008, 11:05 PM
Hi,

I'm using the DockingManager in conjunction with a mdi parent form and I was wondering if when the tab is created for the mdichild, if also the ico image could be displayed alongside the title?

Thanks for your help,
Michael

P.S. sorry for bombarding your forums with all of my questions.

4 Answers, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 18 Jan 2008, 11:51 AM
Hi Michael,

Thank you for writing.

You can use the following code snippet:

private void SetImage(Form mdiChild, Image image)  
{  
    foreach (DocumentPane document in dockingManager1.Documents)  
    {  
        if (document.MdiChild == mdiChild)  
        {  
            document.Image = image;  
            break;  
        }  
    }  

I hope this was helpful. Please contact us again if you need any further assistance.

Kind regards,
Julian Benkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Michael
Top achievements
Rank 1
answered on 21 Jan 2008, 11:22 AM
Hi,

First, thank you for the code snippet, it works great!

Secondly, how do I get a scrollbar to appear when splitting the layout into multiple panels?

Thanks again for all of your help,
Michael
0
Michael
Top achievements
Rank 1
answered on 21 Jan 2008, 11:23 AM
Hi,

First, thank you for the code snippet, it works great!

Secondly, how do I get a scrollbar to appear when splitting the layout into multiple panels?

Thanks again for all of your help,
Michael
0
Julian Benkov
Telerik team
answered on 22 Jan 2008, 09:29 AM
Hello Michael,

Thank you for getting back to us.

The docking component splits multiple panels and decreases its size, but does not provide scrollbar. This is normal behavior for all docking components. Scrollbars may only appear for internal controls in any host IDockable window.

If you have any additional questions, please contact us.

Greetings,
Julian Benkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Dock
Asked by
Michael
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Michael
Top achievements
Rank 1
Share this question
or