Changeset 55 for Docking/CoolDocking/Demo/UMainForm.pas
- Timestamp:
- Sep 20, 2010, 1:15:16 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/Demo/UMainForm.pas
r54 r55 7 7 uses 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, 9 ComCtrls, ExtCtrls, Buttons, Menus, UCoolDocking, UDockForm; 9 ComCtrls, ExtCtrls, Buttons, Menus, UCoolDocking, UCoolDockCustomize, 10 UDockForm; 10 11 11 12 type … … 15 16 TMainForm = class(TForm) 16 17 Button1: TButton; 18 Button2: TButton; 19 CoolDockCustomize1: TCoolDockCustomize; 17 20 CoolDockMaster1: TCoolDockMaster; 18 21 Panel1: TPanel; 22 TabControl1: TTabControl; 19 23 procedure Button1Click(Sender: TObject); 24 procedure Button2Click(Sender: TObject); 20 25 procedure FormCreate(Sender: TObject); 21 26 procedure FormDestroy(Sender: TObject); … … 54 59 begin 55 60 NewDockForm.ManualDock(Panel1); 56 // NewDockForm.ManualDock(Panel1, nil, a);61 // NewDockForm.ManualDock(Panel1); 57 62 ConjoinedDockForm1 := TCoolDockManager(Panel1.DockManager).CreateContainer(alRight); 58 63 ConjoinedDockForm1.Name := 'Model';; … … 87 92 end; 88 93 94 procedure TMainForm.Button2Click(Sender: TObject); 95 begin 96 CoolDockCustomize1.Execute; 97 end; 98 89 99 end. 90 100
Note:
See TracChangeset
for help on using the changeset viewer.