C1 Community
ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Open MDI Child in C1DockingTabs

rated by 0 users
This post has 2 Replies | 2 Followers

Not Ranked
Posts 1
scholzr Posted: Wed, May 27 2009 12:52 PM

I am trying to create an MDI application, and I would like to use the C1DockingTabs to open child forms into so that each child form when open will recieve a tab. Is this possible, and if so, how?

Top 25 Contributor
Posts 456
Hello,
 
I am attaching a sample project which implements the desired project requirement.
 
In the sample project I have written a code on the click event of the button to add an existing form to the C1Docking Tab.
 
Regards,
James Smith
<scholzr> wrote in message news:218355@10.0.1.98...

I am trying to create an MDI application, and I would like to use the C1DockingTabs to open child forms into so that each child form when open will recieve a tab. Is this possible, and if so, how?



http://helpcentral.componentone.com/cs/forums/p/79362/218355.aspx#218355

Not Ranked
Posts 1
jgreywolf replied on Sun, Feb 28 2010 2:50 PM

Just wanted to tack on to this thread to say thanks for the sample - helped alot. 

I am still having a couple of issues though, and hoping someone might be able to point me in the right direction.

What I am doing is hosting a single form on each tab, and I want that form to be maximized within the dockingTabPage - however it does appear that this is possible to have done automatically (either by setting windowstate at design time, or in code), is there a way to have this maximize automatically in tab page? 

Justin

Page 1 of 1 (3 items) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2010 ComponentOne LLC All Rights Reserved.