Changeset 30 for trunk/IDE/Forms/UMainForm.pas
- Timestamp:
- Apr 25, 2011, 7:46:28 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IDE/Forms/UMainForm.pas
r27 r30 6 6 7 7 uses 8 SysUtils, Variants, Classes, Graphics, Controls, Forms, 9 Dialogs, StdCtrls, UCompiler, Registry,10 ComCtrls, ExtCtrls, SynEdit, SynHighlighterPas,11 U Project, FileUtil, Menus, ActnList, UCoolDocking,12 UCo mpiledForm, UCodeTreeForm, URegistry, ULastOpenedList, UApplicationInfo,13 U DebugLog, UAnalyzer, UProducer;8 SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, 9 UCompiler, Registry, ComCtrls, ExtCtrls, SynEdit, SynHighlighterPas, 10 UCDManager, UProject, FileUtil, Menus, ActnList, UCDClient, UCDMaster, 11 UCDConjoinForm, UCDWindowList, UCDLayout, UCDCustomize, UCompiledForm, 12 UCodeTreeForm, URegistry, ULastOpenedList, UApplicationInfo, UDebugLog, 13 UAnalyzer, UProducer; 14 14 15 15 const … … 29 29 ActionList1: TActionList; 30 30 Button1: TButton; 31 CDCustomize1: TCDCustomize; 32 CDLayoutList1: TCDLayoutList; 33 CDWindowList1: TCDWindowList; 31 34 CheckBoxLogParsing: TCheckBox; 32 35 ComboBoxAnalyzer: TComboBox; 33 36 ComboBoxProducer: TComboBox; 34 CoolDockClient1: TCoolDockClient; 35 CoolDockMaster1: TCoolDockMaster; 37 CoolDockClient1: TCDClient; 38 CoolDockMaster1: TCDMaster; 39 ImageList1: TImageList; 36 40 Label1: TLabel; 37 41 Label2: TLabel; … … 81 85 MainForm: TMainForm; 82 86 87 83 88 implementation 84 89 … … 136 141 procedure TMainForm.DockInit; 137 142 var 138 Container1: TC oolDockConjoinForm;139 Container2: TC oolDockConjoinForm;143 Container1: TCDConjoinForm; 144 Container2: TCDConjoinForm; 140 145 begin 141 146 ProjectManager.ManualDock(DockPanel, nil, alLeft); 142 147 ProjectManager.Show; 143 148 144 Container1 := TC oolDockManager(DockPanel.DockManager).CreateContainer(alRight);149 Container1 := TCDManager(DockPanel.DockManager).CreateConjoinForm; 145 150 Container1.Caption := 'Tools'; 146 151 Container1.Name := 'Tools'; 147 152 Container1.ManualDock(DockPanel, nil, alRight); 148 149 CodeTreeForm.ManualDock(DockPanel, nil, alLeft); 153 Container1.Show; 154 Container1.Parent.Parent.Width := MainForm.Width; 155 156 CodeTreeForm.ManualDock(DockPanel, nil, alRight); 150 157 CodeTreeForm.Show; 151 Container1.Parent.Parent.Width := MainForm.Width; 152 153 Container2 := TCoolDockManager(DockPanel.DockManager).CreateContainer(alRight); 158 159 Container2 := TCDManager(DockPanel.DockManager).CreateConjoinForm; 154 160 Container2.Caption := 'Panel'; 155 161 Container2.Name := 'Tools2'; 156 Container2.ManualDock(Container1.Panel, nil, alRight); 157 158 MessagesForm.ManualDock(Container1.Panel, nil, alBottom); 162 Container2.ManualDock(Container1, nil, alRight); 163 Container2.Show; 164 165 MessagesForm.ManualDock(Container1, nil, alBottom); 159 166 MessagesForm.Show; 160 167 161 CodeForm.ManualDock(Container2 .Panel, nil, alTop);168 CodeForm.ManualDock(Container2, nil, alTop); 162 169 CodeForm.Show; 163 170 164 CompiledForm.ManualDock(Container2.Panel, nil, alTop); 165 CompiledForm.Show; 171 172 //CompiledForm.ManualDock(Container2.Panel, nil, alTop); 173 //CompiledForm.Show; 166 174 167 175 //TCoolDockManager(Container2.Panel.DockManager).DockStyle := dsTabs; 168 176 169 ProjectManager.Parent.Parent.Width :=200;177 Container1.Parent.Parent.Width := MainForm.Width - ProjectManager.Width - 200; 170 178 Container2.Parent.Parent.Height := MainForm.Height; 171 179 end;
Note:
See TracChangeset
for help on using the changeset viewer.