Re: Anything like this for Delphi?



Robert wrote:

1. Assume this requires all forms to USE the mainform unit. Correct?

Correct. Maybe it is possible to put the JvDockStyle component on a
DataModule, but I haven't tested that.

2. Once you put it together, how do you make it do its magic? I
compiled the project, main form and two additional forms, show the
additional forms, then what?

1. Use the mouse to drag&dock the additional forms.

2. Use the ManualDock method:
procedure TForm2.FormCreate(Sender: TObject);
begin
ManualDock(FormMain.JvDockServer1.LeftDockPanel); // dock
ShowDockForm(Self); // show
end;

3. Or you use the following functions from JvDockControlForm.pas:

{ Quick way to do tabbed docking programmatically - Added by Warren }
function ManualTabDock(DockSite: TWinControl; Form1, Form2: TForm):
TJvDockTabHostForm;

{ Must create the initial tab dock with two pages, using ManualTabDock,
then you can add more pages with this:}
procedure ManualTabDockAddPage(TabHost: TJvDockTabHostForm; AForm:
TForm);
function ManualConjoinDock(DockSite: TWinControl; Form1, Form2: TForm):
TJvDockConjoinHostForm;


--
Regards,

Andreas Hausladen
.