This is a migrated thread and some comments may be shown as answers.

Docking Forms?

1 Answer 160 Views
Dock
This is a migrated thread and some comments may be shown as answers.
RickAdair
Top achievements
Rank 1
RickAdair asked on 01 Feb 2007, 03:06 PM
Is it possible to dock form objects. I have implemented the IDockable interface for my form and still receive an error that the top-level control cannot be added.

Thanks,
Rick

1 Answer, 1 is accepted

Sort by
0
Chris
Telerik team
answered on 02 Feb 2007, 08:03 AM
Hello Rick,

Yes, it is possible. You can use UserDockForm directly or you can inherit from it.
You can also use another approach - you can implement the IDockable interface and then write the following code in the constructor:

this.TopLevel = false;

this.FormBorderStyle = FormBorderStyle.None;


Sincerely yours,
Chris
the telerik team
Tags
Dock
Asked by
RickAdair
Top achievements
Rank 1
Answers by
Chris
Telerik team
Share this question
or