Changeset 96 for Docking/CoolDocking/Demo/UMainForm.pas
- Timestamp:
- Dec 8, 2010, 10:40:38 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/Demo/UMainForm.pas
r62 r96 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, 9 9 ComCtrls, ExtCtrls, Buttons, Menus, UCoolDocking, UCoolDockCustomize, 10 UDockForm ;10 UDockForm, UComponentTree; 11 11 12 12 type … … 16 16 TMainForm = class(TForm) 17 17 Button1: TButton; 18 Button2: TButton; 18 19 CoolDockClient1: TCoolDockClient; 19 20 CoolDockCustomize1: TCoolDockCustomize; … … 27 28 Panel1: TPanel; 28 29 procedure Button1Click(Sender: TObject); 30 procedure Button2Click(Sender: TObject); 29 31 procedure FormCreate(Sender: TObject); 30 32 procedure FormDestroy(Sender: TObject); … … 70 72 ConjoinedDockForm1.ManualDock(Panel1); 71 73 TCoolDockManager(ConjoinedDockForm1.Panel.DockManager).DockStyle := dsTabs; 72 (*NewDockForm.ManualDock(ConjoinedDockForm1.Panel);74 NewDockForm.ManualDock(ConjoinedDockForm1.Panel); 73 75 NewDockForm.ManualDock(ConjoinedDockForm1.Panel); 74 76 NewDockForm.ManualDock(TForm(DockForms[0])); 75 77 NewDockForm.ManualDock(TForm(DockForms[0])); 76 NewDockForm.ManualDock(TForm(DockForms[0])); *)78 NewDockForm.ManualDock(TForm(DockForms[0])); 77 79 // TCustomDockManager(TDockForm(DockForms[0]).DockManager).DockStyle := dsTabs; 78 80 end; … … 107 109 end; 108 110 111 procedure TMainForm.Button2Click(Sender: TObject); 112 begin 113 ComponentTree.Show; 114 end; 115 109 116 end. 110 117
Note:
See TracChangeset
for help on using the changeset viewer.