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.
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
0
Hi Michael,
Thank you for writing.
You can use the following code snippet:
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
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
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
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
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
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