Hi
In my desktop application, there is one MDI Parent Form, I have put UltraFormManager Control on my form for look and feel. During adding UltraFormManager Control i was not add any container control like panel. Now i have add another control UltraToolbarManager, again i was not adding any container control while putting UltraToolbarManager control. Because container control is only add when my form is nonMdi.
In this scenario i have facing one problem, My UltraToolbarManager's "In Place Designer" option is disable so i have not able to add tools or menus on my form.
So that i have change my scenario. I have add container conrol like panel while adding UltaToolbarManager. Now i have easily add tools and menus. But in this scenario i have also facing a problem. I want to used UltraTabbedMdiManager control, because application has one master form and most of the forms are being child form of parent. i can't able to see client area of MDI Form. My child forms are not visible.
So how can i used this three controls simultaneously. How can i solved my problem which i had facing during this two scenario.
--HireN Lad
Hello,
I want to implement these scenario in my application which i had describe in my above post so that i request to infragistics team for better solution of my post.
Thank You.
HI,
Maybe one possible approach could be if you are using UltraToolbarManager into the MDIChild form. If it is not possible you could include a container panel from your UltraFormManager - for example it is Form1_Fill_Panel and dock it at top of your MDIParent form.
Please take a look at the attached sample with this approach .
Regards
Hi Georgi Thank you so much for your reply.
These approach is not work for me. Because i want UltraTabbedMDIManager in blank area of MDI form not in top of UltraToolbarManager. Here i have attached my application design image so u have get idea and understand my issue.
Please take look in above image, I have draw red rectangle in image which indicate that is my MDI working area and i want to put UltraTabbedMDIManager control from this blank area. I don't want to add Toolbarmanager control from child form.
How can i achieve my scenario ?
If I understood your scenario, maybe one possible approach could be if you are using ContainerControl which keep your UltraExplorerBar in the left side, the UltraToolbarManager will be at the top, and all other available space will be for UltraTabMDIContainer. Please take a look at the modifications that I made in the sample for more details and let me know if you have any questions.
Hi,
Have you been able to resolve your issue ? Did you have a time to take a look at the attached sample. Let me know if you have any questions
Hello Georgi,
Thanks for your support. We had resolve our issue. Thank you so much.
-- HireN Lad
Have you been able to resolve your issue ? Let me know if you have any questions.
Maybe you could try this approach:
private void Form1_Load(object sender, EventArgs e) { Form2 f = new Form2(); f.Text = "Form 1"; f.MdiParent = this; f.Show(); ToolBase tb = f.ultraToolbarsManager1.Toolbars[0].Tools[0]; f.ultraToolbarsManager1.Tools.Remove(tb); f.ultraToolbarsManager1.Toolbars[0].Tools.Remove(tb); ultraToolbarsManager1.Tools.Add(tb); ultraToolbarsManager1.Toolbars[0].Tools.AddTool(tb.Key); }
private void Form1_Load(object sender, EventArgs e)
{
Form2 f = new Form2();
f.Text = "Form 1";
f.MdiParent = this;
f.Show();
ToolBase tb = f.ultraToolbarsManager1.Toolbars[0].Tools[0];
f.ultraToolbarsManager1.Tools.Remove(tb);
f.ultraToolbarsManager1.Toolbars[0].Tools.Remove(tb);
ultraToolbarsManager1.Tools.Add(tb);
ultraToolbarsManager1.Toolbars[0].Tools.AddTool(tb.Key);
}
Let me know if you have any questions.
Hi Georgi,
I don't want to use Option 1, because i must need to used UltraFormManager Control for changing forecolor of form caption and also decorate Minimize Restore, Maximize and Close buttons, and i think without UltraFormManager control i can't achieve it.
So, Can you please give me some ideas about how does i duplicate UltraToolbarManager menu of MdiChild form into MdiParent form ?
Hello HireN,
In our scenario we are using UltraFormManager and additional ContainerControls (behide our UltraToolbarManager in the MDIParent form and UltraExplorerBar) to be able to work together with UltraFormManager and UltraToolbarManager. By this reason our UltraToolbarManager from MDIParent form and the UltraToolbarManager from our MDIChild form are not able to merge by default.
To achieve desired behavior maybe we have two possible options:
Option 1: To remove our UltraFormManager from our MDIParent form
Option 2: If we keep UltraFormManager in MDIParent form, than we should create our own methods that will duplicate our UltraToolbarManager menu from MdiChild form into MdiParent form.
Let me know if you have any questions