StrataFrame Forum

Tabbed MDI Manager

http://forum.strataframe.net/Topic6459.aspx

By Matthias Luecking - 1/30/2007



Hallo,

is it possible to use the XtraTabbedMdiManager from developer express?

Would like to have all windows tabbed.

Thanks

Matthias
By Trent L. Taylor - 1/31/2007

I don't see any reason why you couldn't.  As long as the MDITabbedManager supports forms other than XtraForms and you can add a StrataFrame StandardForm to it (which I am confident that you can), then you will not have any problem.
By Paul Chase - 1/31/2007

I use it and it works fine.
By Matthias Luecking - 1/31/2007



Nice to hear.

Thank you folks. :-)
By Trent L. Taylor - 1/31/2007

Great to hear it works for you!
By Bill Cunnien - 4/20/2010

Hey Paul...I know that I am digging up some really old threads, but how exactly does this control work within SF? As far as I can tell, the control is dropped on a MDI parent form and the children are supposed to be automatically managed by this control. For some reason, my child form is opened (my action items are created), but it does not showing anywhere. I tried BringToFront(), but that did not help. I am a little stumped on this one. I would really like to have the forms managed by this control...it would really tidy things up a bit. Any tips would be appreciated.



Thanks!!
By Bill Cunnien - 4/20/2010

I figured it out.



I've been using the StrataFlix paradigm to recreate my application interface and functionality. It has been a marvelous learning curve.



What I did to solve the problem was to remove the _MDIClient definition from the parent/container form. I removed the local variable (_MDIClient) and replaced the OnLoad code as follows:





protected override void OnLoad(EventArgs e)

{

 base.OnLoad(e);



 //-- Set the MDI backcolor to white

 //_MDIClient.BackColor = Color.FromName("Control");



 //-- Add the MDI

 //Controls.Add(_MDIClient);



 this.IsMdiContainer = true;

 XtraTabbedMdiManager mMDIManager = new XtraTabbedMdiManager();

 mMDIManager.MdiParent = this;

 mMDIManager.Appearance.BackColor = Color.FromName("Control");

}





This works like a charm! Hope this helps someone else out there.



Bill