Hi
Using Rad dock as a mdi container and trying to launch forms in document but getting error below - does this mean forms can not be added to the tabed document view?
ERROR;
Top-level control cannot be added to a control.
Code for Enquiry which is rad form
Using Rad dock as a mdi container and trying to launch forms in document but getting error below - does this mean forms can not be added to the tabed document view?
ERROR;
Top-level control cannot be added to a control.
Code for Enquiry which is rad form
Enquiry enquiry = new Enquiry();
DocumentWindow document = new DocumentWindow();
document.Text =
"New Enquiry form";
document.Controls.Add(enquiry);
enquiry.Dock =
DockStyle.Fill;
this.radDock1.AddDocument(document);
Rgds
Stephen