Re: Anything like this for Delphi?
- From: "Andreas Hausladen" <AndreasDOTHausladen@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: 30 Dec 2007 11:24:01 -0700
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
.
- Follow-Ups:
- Re: Anything like this for Delphi?
- From: yannis
- Re: Anything like this for Delphi?
- References:
- Anything like this for Delphi?
- From: Tony Caduto
- Re: Anything like this for Delphi?
- From: Liz
- Re: Anything like this for Delphi?
- From: Tony Caduto
- Re: Anything like this for Delphi?
- From: Andreas Hausladen
- Re: Anything like this for Delphi?
- From: Robert
- Anything like this for Delphi?
- Prev by Date: Re: DFM-Check
- Next by Date: Re: DFM-Check
- Previous by thread: Re: Anything like this for Delphi?
- Next by thread: Re: Anything like this for Delphi?
- Index(es):