Changeset 54 for Docking/CoolDocking/Demo/UMainForm.pas
- Timestamp:
- Sep 20, 2010, 9:22:02 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/Demo/UMainForm.pas
r50 r54 7 7 uses 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, 9 ComCtrls, ExtCtrls, Buttons, Menus, UC ustomDockManager, UDockForm;9 ComCtrls, ExtCtrls, Buttons, Menus, UCoolDocking, UDockForm; 10 10 11 11 type … … 15 15 TMainForm = class(TForm) 16 16 Button1: TButton; 17 C ustomDockMaster1: TCustomDockMaster;17 CoolDockMaster1: TCoolDockMaster; 18 18 Panel1: TPanel; 19 19 procedure Button1Click(Sender: TObject); … … 50 50 procedure TMainForm.FormShow(Sender: TObject); 51 51 var 52 ConjoinedDockForm1: TCo njoinDockForm;53 ConjoinedDockForm2: TCo njoinDockForm;52 ConjoinedDockForm1: TCoolDockConjoinForm; 53 ConjoinedDockForm2: TCoolDockConjoinForm; 54 54 begin 55 55 NewDockForm.ManualDock(Panel1); 56 56 // NewDockForm.ManualDock(Panel1, nil, a); 57 ConjoinedDockForm1 := TC ustomDockManager(Panel1.DockManager).CreateContainer(alRight);57 ConjoinedDockForm1 := TCoolDockManager(Panel1.DockManager).CreateContainer(alRight); 58 58 ConjoinedDockForm1.Name := 'Model';; 59 TC ustomDockManager(ConjoinedDockForm1.Panel.DockManager).TabsPos := hpLeft;59 TCoolDockManager(ConjoinedDockForm1.Panel.DockManager).TabsPos := hpLeft; 60 60 //ConjoinedDockForm1.ManualDock(Panel1); 61 TC ustomDockManager(ConjoinedDockForm1.Panel.DockManager).DockStyle := dsTabs;61 TCoolDockManager(ConjoinedDockForm1.Panel.DockManager).DockStyle := dsTabs; 62 62 NewDockForm.ManualDock(ConjoinedDockForm1.Panel); 63 63 NewDockForm.ManualDock(ConjoinedDockForm1.Panel);
Note:
See TracChangeset
for help on using the changeset viewer.