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?
<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
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
Bump - any thoughts on this question?
This is actually relatively easy, Using the code in the example as a base try the following approach:
frm.Visible =
True
frm.TopLevel =
False
tb.Controls.Add(frm)
tb.Text =
"Page"
.FormBorderStyle = Windows.Forms.FormBorderStyle.None
.Dock = DockStyle.Fill
HTH
Dom