Changeset 243 for Docking/CoolDocking/Demo/Testing/UMainForm.pas
- Timestamp:
- May 13, 2011, 9:34:51 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/Demo/Testing/UMainForm.pas
r177 r243 7 7 uses 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, 9 ComCtrls, ExtCtrls, Buttons, Menus, UCoolDocking, UCoolDockCustomize, 10 UDockForm, UComponentTree; 9 ComCtrls, ExtCtrls, Buttons, Menus, UCDMaster, UCDCustomize, UCDClient, 10 UDockForm, UComponentTree, UCDWindowList, UCDConjoinForm, UCDManager, 11 UCDCommon; 11 12 12 13 type … … 17 18 Button1: TButton; 18 19 Button2: TButton; 19 CoolDockClient1: TC oolDockClient;20 CoolDockCustomize1: TC oolDockCustomize;21 CoolDockMaster1: TC oolDockMaster;22 CoolDockWindowList1: TC oolDockWindowList;20 CoolDockClient1: TCDClient; 21 CoolDockCustomize1: TCDCustomize; 22 CoolDockMaster1: TCDMaster; 23 CoolDockWindowList1: TCDWindowList; 23 24 MainMenu1: TMainMenu; 24 25 MenuItem1: TMenuItem; … … 69 70 procedure TMainForm.FormShow(Sender: TObject); 70 71 var 71 ConjoinedDockForm1: TC oolDockConjoinForm;72 ConjoinedDockForm2: TC oolDockConjoinForm;72 ConjoinedDockForm1: TCDConjoinForm; 73 ConjoinedDockForm2: TCDConjoinForm; 73 74 begin 74 75 NewDockForm.ManualDock(Panel1); 75 76 NewDockForm.ManualDock(Panel1); 76 ConjoinedDockForm1 := TC oolDockManager(Panel1.DockManager).CreateContainer(alRight);77 ConjoinedDockForm1 := TCDManager(Panel1.DockManager).CreateConjoinForm; 77 78 ConjoinedDockForm1.Name := 'Model';; 78 79 //TCoolDockManager(ConjoinedDockForm1.Panel.DockManager).TabsPos := hpLeft; 79 80 ConjoinedDockForm1.ManualDock(Panel1); 80 TC oolDockManager(ConjoinedDockForm1.Panel.DockManager).DockStyle := dsTabs;81 NewDockForm.ManualDock(ConjoinedDockForm1 .Panel);82 NewDockForm.ManualDock(ConjoinedDockForm1 .Panel);83 NewDockForm.ManualDock(ConjoinedDockForm1 .Panel);81 TCDManager(ConjoinedDockForm1.DockManager).DockStyle := dsTabs; 82 NewDockForm.ManualDock(ConjoinedDockForm1); 83 NewDockForm.ManualDock(ConjoinedDockForm1); 84 NewDockForm.ManualDock(ConjoinedDockForm1); 84 85 //NewDockForm.ManualDock(TForm(DockForms[0])); 85 86 //NewDockForm.ManualDock(TForm(DockForms[0]));
Note:
See TracChangeset
for help on using the changeset viewer.