Changeset 184 for Docking/CoolDocking/Demo/IDE
- Timestamp:
- Mar 10, 2011, 9:57:21 AM (14 years ago)
- Location:
- Docking/CoolDocking/Demo/IDE
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/Demo/IDE/IDE.lpi
r183 r184 47 47 </Item4> 48 48 </RequiredPackages> 49 <Units Count="5 4">49 <Units Count="56"> 50 50 <Unit0> 51 51 <Filename Value="IDE.lpr"/> 52 52 <IsPartOfProject Value="True"/> 53 53 <UnitName Value="IDE"/> 54 <UsageCount Value="116"/> 54 <WindowIndex Value="0"/> 55 <TopLine Value="11"/> 56 <CursorPos X="15" Y="34"/> 57 <UsageCount Value="120"/> 55 58 </Unit0> 56 59 <Unit1> … … 60 63 <ResourceBaseClass Value="Form"/> 61 64 <UnitName Value="UMainForm"/> 62 <EditorIndex Value=" 4"/>63 <WindowIndex Value="0"/> 64 <TopLine Value="1 38"/>65 <CursorPos X=" 18" Y="150"/>66 <UsageCount Value="1 16"/>65 <EditorIndex Value="13"/> 66 <WindowIndex Value="0"/> 67 <TopLine Value="1"/> 68 <CursorPos X="70" Y="2"/> 69 <UsageCount Value="120"/> 67 70 <Loaded Value="True"/> 68 71 <LoadedDesigner Value="True"/> … … 77 80 <TopLine Value="1"/> 78 81 <CursorPos X="12" Y="16"/> 79 <UsageCount Value="1 16"/>82 <UsageCount Value="120"/> 80 83 </Unit2> 81 84 <Unit3> … … 85 88 <ResourceBaseClass Value="Form"/> 86 89 <UnitName Value="UStructureForm"/> 87 <WindowIndex Value="0"/> 88 <TopLine Value="1"/> 89 <CursorPos X="3" Y="16"/> 90 <UsageCount Value="116"/> 90 <EditorIndex Value="3"/> 91 <WindowIndex Value="0"/> 92 <TopLine Value="1"/> 93 <CursorPos X="22" Y="4"/> 94 <UsageCount Value="120"/> 95 <Loaded Value="True"/> 96 <LoadedDesigner Value="True"/> 91 97 </Unit3> 92 98 <Unit4> … … 99 105 <TopLine Value="1"/> 100 106 <CursorPos X="15" Y="10"/> 101 <UsageCount Value="1 16"/>107 <UsageCount Value="120"/> 102 108 </Unit4> 103 109 <Unit5> 104 110 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/> 105 <WindowIndex Value="0"/> 106 <TopLine Value="1672"/> 107 <CursorPos X="1" Y="1685"/> 108 <UsageCount Value="54"/> 111 <EditorIndex Value="6"/> 112 <WindowIndex Value="0"/> 113 <TopLine Value="3508"/> 114 <CursorPos X="1" Y="3512"/> 115 <UsageCount Value="55"/> 116 <Loaded Value="True"/> 109 117 </Unit5> 110 118 <Unit6> … … 117 125 <TopLine Value="1"/> 118 126 <CursorPos X="20" Y="16"/> 119 <UsageCount Value="1 16"/>127 <UsageCount Value="120"/> 120 128 </Unit6> 121 129 <Unit7> 122 130 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\customform.inc"/> 123 <WindowIndex Value="0"/> 124 <TopLine Value="2822"/> 125 <CursorPos X="1" Y="2835"/> 126 <UsageCount Value="57"/> 131 <EditorIndex Value="9"/> 132 <WindowIndex Value="0"/> 133 <TopLine Value="941"/> 134 <CursorPos X="1" Y="954"/> 135 <UsageCount Value="59"/> 136 <Loaded Value="True"/> 127 137 </Unit7> 128 138 <Unit8> … … 132 142 <ResourceBaseClass Value="Form"/> 133 143 <UnitName Value="UMessagesForm"/> 144 <EditorIndex Value="8"/> 134 145 <WindowIndex Value="0"/> 135 146 <TopLine Value="1"/> 136 147 <CursorPos X="7" Y="16"/> 137 <UsageCount Value="116"/> 148 <UsageCount Value="120"/> 149 <Loaded Value="True"/> 138 150 </Unit8> 139 151 <Unit9> … … 146 158 <TopLine Value="1"/> 147 159 <CursorPos X="12" Y="15"/> 148 <UsageCount Value="1 16"/>160 <UsageCount Value="120"/> 149 161 </Unit9> 150 162 <Unit10> … … 157 169 <TopLine Value="1"/> 158 170 <CursorPos X="21" Y="4"/> 159 <UsageCount Value="1 16"/>171 <UsageCount Value="120"/> 160 172 </Unit10> 161 173 <Unit11> … … 168 180 <TopLine Value="1"/> 169 181 <CursorPos X="12" Y="16"/> 170 <UsageCount Value="1 16"/>182 <UsageCount Value="120"/> 171 183 </Unit11> 172 184 <Unit12> … … 179 191 <TopLine Value="1"/> 180 192 <CursorPos X="12" Y="17"/> 181 <UsageCount Value="1 16"/>193 <UsageCount Value="120"/> 182 194 </Unit12> 183 195 <Unit13> … … 190 202 <TopLine Value="1"/> 191 203 <CursorPos X="12" Y="16"/> 192 <UsageCount Value="1 16"/>204 <UsageCount Value="120"/> 193 205 </Unit13> 194 206 <Unit14> … … 198 210 <ResourceBaseClass Value="Form"/> 199 211 <UnitName Value="USourceEditorForm"/> 200 <WindowIndex Value="0"/> 201 <TopLine Value="1"/> 202 <CursorPos X="41" Y="17"/> 203 <UsageCount Value="114"/> 212 <EditorIndex Value="2"/> 213 <WindowIndex Value="0"/> 214 <TopLine Value="6"/> 215 <CursorPos X="31" Y="3"/> 216 <UsageCount Value="118"/> 217 <Loaded Value="True"/> 218 <LoadedDesigner Value="True"/> 204 219 </Unit14> 205 220 <Unit15> … … 208 223 <EditorIndex Value="0"/> 209 224 <WindowIndex Value="0"/> 210 <TopLine Value=" 406"/>211 <CursorPos X=" 3" Y="411"/>212 <UsageCount Value="5 7"/>225 <TopLine Value="287"/> 226 <CursorPos X="4" Y="289"/> 227 <UsageCount Value="58"/> 213 228 <Loaded Value="True"/> 214 229 </Unit15> … … 216 231 <Filename Value="..\..\UCoolDockLayout.pas"/> 217 232 <UnitName Value="UCoolDockLayout"/> 218 <EditorIndex Value=" 5"/>219 <WindowIndex Value="0"/> 220 <TopLine Value="3 79"/>221 <CursorPos X=" 101" Y="394"/>222 <UsageCount Value="5 7"/>233 <EditorIndex Value="1"/> 234 <WindowIndex Value="0"/> 235 <TopLine Value="381"/> 236 <CursorPos X="36" Y="404"/> 237 <UsageCount Value="58"/> 223 238 <Loaded Value="True"/> 224 239 </Unit16> … … 248 263 <Filename Value="..\..\URectangle.pas"/> 249 264 <UnitName Value="URectangle"/> 250 <WindowIndex Value="0"/> 251 <TopLine Value="90"/> 252 <CursorPos X="61" Y="104"/> 265 <EditorIndex Value="4"/> 266 <WindowIndex Value="0"/> 267 <TopLine Value="110"/> 268 <CursorPos X="18" Y="126"/> 253 269 <UsageCount Value="27"/> 270 <Loaded Value="True"/> 254 271 </Unit20> 255 272 <Unit21> … … 292 309 <WindowIndex Value="0"/> 293 310 <TopLine Value="913"/> 294 <CursorPos X="1" Y="9 30"/>311 <CursorPos X="1" Y="926"/> 295 312 <UsageCount Value="24"/> 296 313 </Unit25> 297 314 <Unit26> 298 315 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\containedaction.inc"/> 316 <EditorIndex Value="7"/> 299 317 <WindowIndex Value="0"/> 300 318 <TopLine Value="91"/> 301 319 <CursorPos X="1" Y="104"/> 302 <UsageCount Value="6"/> 320 <UsageCount Value="11"/> 321 <Loaded Value="True"/> 303 322 </Unit26> 304 323 <Unit27> … … 312 331 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\controls.pp"/> 313 332 <UnitName Value="Controls"/> 314 <EditorIndex Value="7"/> 315 <WindowIndex Value="0"/> 316 <TopLine Value="1050"/> 317 <CursorPos X="14" Y="1429"/> 318 <UsageCount Value="33"/> 319 <Loaded Value="True"/> 333 <WindowIndex Value="0"/> 334 <TopLine Value="3859"/> 335 <CursorPos X="1" Y="3872"/> 336 <UsageCount Value="35"/> 320 337 </Unit28> 321 338 <Unit29> 322 339 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\wincontrol.inc"/> 323 340 <WindowIndex Value="0"/> 324 <TopLine Value=" 5229"/>325 <CursorPos X="1" Y=" 5242"/>326 <UsageCount Value="2 8"/>341 <TopLine Value="7662"/> 342 <CursorPos X="1" Y="7675"/> 343 <UsageCount Value="29"/> 327 344 </Unit29> 328 345 <Unit30> … … 347 364 <Filename Value="..\..\UCoolDockCommon.pas"/> 348 365 <UnitName Value="UCoolDockCommon"/> 349 <EditorIndex Value="1 "/>350 <WindowIndex Value="0"/> 351 <TopLine Value="1"/> 352 <CursorPos X=" 1" Y="14"/>353 <UsageCount Value=" 48"/>366 <EditorIndex Value="10"/> 367 <WindowIndex Value="0"/> 368 <TopLine Value="1"/> 369 <CursorPos X="25" Y="11"/> 370 <UsageCount Value="50"/> 354 371 <Loaded Value="True"/> 355 372 </Unit32> … … 409 426 <Filename Value="..\..\UCoolDockStyle.pas"/> 410 427 <UnitName Value="UCoolDockStyle"/> 411 <EditorIndex Value=" 3"/>412 <WindowIndex Value="0"/> 413 <TopLine Value=" 59"/>414 <CursorPos X=" 3" Y="65"/>415 <UsageCount Value="3 1"/>428 <EditorIndex Value="12"/> 429 <WindowIndex Value="0"/> 430 <TopLine Value="10"/> 431 <CursorPos X="15" Y="23"/> 432 <UsageCount Value="32"/> 416 433 <Loaded Value="True"/> 417 434 </Unit40> … … 419 436 <Filename Value="..\..\UCoolDockClientPanel.pas"/> 420 437 <UnitName Value="UCoolDockClientPanel"/> 421 <EditorIndex Value="2"/> 422 <WindowIndex Value="0"/> 423 <TopLine Value="25"/> 424 <CursorPos X="22" Y="40"/> 425 <UsageCount Value="31"/> 438 <IsVisibleTab Value="True"/> 439 <EditorIndex Value="11"/> 440 <WindowIndex Value="0"/> 441 <TopLine Value="259"/> 442 <CursorPos X="1" Y="271"/> 443 <UsageCount Value="32"/> 426 444 <Loaded Value="True"/> 427 445 </Unit41> … … 437 455 <Filename Value="..\..\UCoolDockStyleTabs.pas"/> 438 456 <UnitName Value="UCoolDockStyleTabs"/> 439 <EditorIndex Value=" 8"/>440 <WindowIndex Value="0"/> 441 <TopLine Value=" 238"/>442 <CursorPos X=" 3" Y="240"/>443 <UsageCount Value="3 0"/>457 <EditorIndex Value="15"/> 458 <WindowIndex Value="0"/> 459 <TopLine Value="192"/> 460 <CursorPos X="52" Y="205"/> 461 <UsageCount Value="31"/> 444 462 <Loaded Value="True"/> 445 463 </Unit43> … … 470 488 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 471 489 <UnitName Value="UCoolDockStyleRegions"/> 472 <IsVisibleTab Value="True"/> 473 <EditorIndex Value="6"/> 474 <WindowIndex Value="0"/> 475 <TopLine Value="61"/> 476 <CursorPos X="36" Y="66"/> 477 <UsageCount Value="29"/> 490 <EditorIndex Value="14"/> 491 <WindowIndex Value="0"/> 492 <TopLine Value="64"/> 493 <CursorPos X="31" Y="77"/> 494 <UsageCount Value="30"/> 478 495 <Loaded Value="True"/> 479 496 </Unit47> … … 522 539 <DefaultSyntaxHighlighter Value="None"/> 523 540 </Unit53> 541 <Unit54> 542 <Filename Value="UComponentTree.pas"/> 543 <IsPartOfProject Value="True"/> 544 <ComponentName Value="ComponentTree"/> 545 <HasResources Value="True"/> 546 <ResourceBaseClass Value="Form"/> 547 <UnitName Value="UComponentTree"/> 548 <WindowIndex Value="0"/> 549 <TopLine Value="23"/> 550 <CursorPos X="15" Y="24"/> 551 <UsageCount Value="21"/> 552 </Unit54> 553 <Unit55> 554 <Filename Value="..\..\UCoolDockStylePopupRegions.pas"/> 555 <UnitName Value="UCoolDockStylePopupRegions"/> 556 <EditorIndex Value="5"/> 557 <WindowIndex Value="0"/> 558 <TopLine Value="1"/> 559 <CursorPos X="1" Y="1"/> 560 <UsageCount Value="10"/> 561 <Loaded Value="True"/> 562 </Unit55> 524 563 </Units> 525 564 <JumpHistory Count="30" HistoryIndex="29"> 526 565 <Position1> 527 566 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 528 <Caret Line="6 4" Column="1" TopLine="59"/>567 <Caret Line="66" Column="1" TopLine="56"/> 529 568 </Position1> 530 569 <Position2> 531 570 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 532 <Caret Line=" 65" Column="1" TopLine="59"/>571 <Caret Line="83" Column="1" TopLine="70"/> 533 572 </Position2> 534 573 <Position3> 535 574 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 536 <Caret Line=" 66" Column="1" TopLine="59"/>575 <Caret Line="85" Column="1" TopLine="70"/> 537 576 </Position3> 538 577 <Position4> 539 <Filename Value="..\..\UCoolDock StyleRegions.pas"/>540 <Caret Line=" 68" Column="1" TopLine="59"/>578 <Filename Value="..\..\UCoolDocking.pas"/> 579 <Caret Line="211" Column="1" TopLine="198"/> 541 580 </Position4> 542 581 <Position5> 543 <Filename Value="..\..\UCoolDock StyleRegions.pas"/>544 <Caret Line=" 82" Column="1" TopLine="61"/>582 <Filename Value="..\..\UCoolDocking.pas"/> 583 <Caret Line="212" Column="1" TopLine="198"/> 545 584 </Position5> 546 585 <Position6> 547 586 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 548 <Caret Line=" 64" Column="1" TopLine="59"/>587 <Caret Line="86" Column="1" TopLine="70"/> 549 588 </Position6> 550 589 <Position7> 551 590 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 552 <Caret Line=" 65" Column="1" TopLine="59"/>591 <Caret Line="87" Column="1" TopLine="70"/> 553 592 </Position7> 554 593 <Position8> 555 594 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 556 <Caret Line=" 66" Column="1" TopLine="59"/>595 <Caret Line="88" Column="1" TopLine="70"/> 557 596 </Position8> 558 597 <Position9> 559 598 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 560 <Caret Line=" 68" Column="1" TopLine="59"/>599 <Caret Line="91" Column="1" TopLine="70"/> 561 600 </Position9> 562 601 <Position10> 563 602 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 564 <Caret Line=" 69" Column="1" TopLine="59"/>603 <Caret Line="92" Column="1" TopLine="71"/> 565 604 </Position10> 566 605 <Position11> 567 606 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 568 <Caret Line=" 70" Column="1" TopLine="59"/>607 <Caret Line="94" Column="1" TopLine="73"/> 569 608 </Position11> 570 609 <Position12> 571 610 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 572 <Caret Line=" 82" Column="1" TopLine="61"/>611 <Caret Line="95" Column="1" TopLine="74"/> 573 612 </Position12> 574 613 <Position13> 575 614 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 576 <Caret Line=" 64" Column="1" TopLine="59"/>615 <Caret Line="96" Column="1" TopLine="75"/> 577 616 </Position13> 578 617 <Position14> 579 618 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 580 <Caret Line=" 65" Column="1" TopLine="59"/>619 <Caret Line="97" Column="31" TopLine="76"/> 581 620 </Position14> 582 621 <Position15> 583 622 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 584 <Caret Line=" 66" Column="1" TopLine="59"/>623 <Caret Line="98" Column="1" TopLine="77"/> 585 624 </Position15> 586 625 <Position16> 587 626 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 588 <Caret Line=" 68" Column="1" TopLine="59"/>627 <Caret Line="100" Column="1" TopLine="64"/> 589 628 </Position16> 590 629 <Position17> 591 630 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 592 <Caret Line="6 9" Column="1" TopLine="59"/>631 <Caret Line="64" Column="1" TopLine="51"/> 593 632 </Position17> 594 633 <Position18> 595 634 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 596 <Caret Line=" 70" Column="1" TopLine="59"/>635 <Caret Line="65" Column="1" TopLine="51"/> 597 636 </Position18> 598 637 <Position19> 599 638 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 600 <Caret Line=" 72" Column="1" TopLine="59"/>639 <Caret Line="66" Column="1" TopLine="51"/> 601 640 </Position19> 602 641 <Position20> 603 642 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 604 <Caret Line=" 73" Column="1" TopLine="59"/>643 <Caret Line="83" Column="1" TopLine="70"/> 605 644 </Position20> 606 645 <Position21> 607 646 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 608 <Caret Line=" 75" Column="1" TopLine="59"/>647 <Caret Line="85" Column="1" TopLine="70"/> 609 648 </Position21> 610 649 <Position22> 611 <Filename Value="..\..\UCoolDock StyleRegions.pas"/>612 <Caret Line=" 76" Column="1" TopLine="59"/>650 <Filename Value="..\..\UCoolDocking.pas"/> 651 <Caret Line="211" Column="1" TopLine="198"/> 613 652 </Position22> 614 653 <Position23> 615 <Filename Value="..\..\UCoolDock StyleRegions.pas"/>616 <Caret Line=" 64" Column="1" TopLine="59"/>654 <Filename Value="..\..\UCoolDocking.pas"/> 655 <Caret Line="212" Column="1" TopLine="198"/> 617 656 </Position23> 618 657 <Position24> 619 <Filename Value="..\..\UCoolDock StyleRegions.pas"/>620 <Caret Line=" 65" Column="1" TopLine="59"/>658 <Filename Value="..\..\UCoolDockLayout.pas"/> 659 <Caret Line="403" Column="30" TopLine="390"/> 621 660 </Position24> 622 661 <Position25> 623 <Filename Value="..\..\UCoolDock StyleRegions.pas"/>624 <Caret Line=" 66" Column="1" TopLine="59"/>662 <Filename Value="..\..\UCoolDockLayout.pas"/> 663 <Caret Line="24" Column="17" TopLine="11"/> 625 664 </Position25> 626 665 <Position26> 627 <Filename Value="..\..\U CoolDockStyleRegions.pas"/>628 <Caret Line=" 82" Column="1" TopLine="61"/>666 <Filename Value="..\..\URectangle.pas"/> 667 <Caret Line="43" Column="58" TopLine="23"/> 629 668 </Position26> 630 669 <Position27> 631 <Filename Value="..\..\U CoolDockStyleRegions.pas"/>632 <Caret Line=" 64" Column="1" TopLine="59"/>670 <Filename Value="..\..\URectangle.pas"/> 671 <Caret Line="126" Column="24" TopLine="107"/> 633 672 </Position27> 634 673 <Position28> 635 <Filename Value="..\..\UCoolDock StyleRegions.pas"/>636 <Caret Line=" 65" Column="1" TopLine="59"/>674 <Filename Value="..\..\UCoolDockLayout.pas"/> 675 <Caret Line="24" Column="17" TopLine="11"/> 637 676 </Position28> 638 677 <Position29> 639 <Filename Value="..\..\UCoolDock StyleRegions.pas"/>640 <Caret Line=" 66" Column="1" TopLine="59"/>678 <Filename Value="..\..\UCoolDockLayout.pas"/> 679 <Caret Line="403" Column="43" TopLine="384"/> 641 680 </Position29> 642 681 <Position30> 643 <Filename Value="..\..\UCoolDock StyleRegions.pas"/>644 <Caret Line=" 68" Column="1" TopLine="59"/>682 <Filename Value="..\..\UCoolDockClientPanel.pas"/> 683 <Caret Line="154" Column="30" TopLine="150"/> 645 684 </Position30> 646 685 </JumpHistory> … … 668 707 </CompilerOptions> 669 708 <Debugging> 670 < BreakPoints Count="1">709 <Watches Count="1"> 671 710 <Item1> 672 <Source Value="..\..\UCoolDockStyleRegions.pas"/> 673 <Line Value="61"/> 711 <Expression Value="AControl.FName"/> 674 712 </Item1> 675 </ BreakPoints>713 </Watches> 676 714 <Exceptions Count="3"> 677 715 <Item1> -
Docking/CoolDocking/Demo/IDE/IDE.lpr
r178 r184 11 11 UToolPaletteForm, UProjectManagerForm, UMessagesForm, UCallStackForm, 12 12 ULocalVariablesForm, UToDoListForm, UWatchListForm, UThreadStatusForm, 13 USourceEditorForm 13 USourceEditorForm, UComponentTree 14 14 { you can add units after this }; 15 15 … … 31 31 Application.CreateForm(TThreadStatusForm, ThreadStatusForm); 32 32 Application.CreateForm(TSourceEditorForm, SourceEditorForm); 33 Application.CreateForm(TComponentTree, ComponentTree); 33 34 Application.Run; 34 35 end. -
Docking/CoolDocking/Demo/IDE/UMainForm.lfm
r182 r184 11 11 OnShow = FormShow 12 12 LCLVersion = '0.9.31' 13 object Panel1: TPanel13 object DockPanel: TPanel 14 14 Left = 0 15 15 Height = 400 … … 127 127 Action = ADesktopSave 128 128 end 129 object MenuItem22: TMenuItem 130 Action = AViewComponentTree 131 end 129 132 end 130 133 object MenuItem11: TMenuItem … … 208 211 Caption = 'Exit' 209 212 OnExecute = AExitExecute 213 end 214 object AViewComponentTree: TAction 215 Caption = 'Component Tree' 216 OnExecute = AViewComponentTreeExecute 210 217 end 211 218 end … … 228 235 Floatable = False 229 236 Master = CoolDockMaster1 230 Panel = Panel1237 Panel = DockPanel 231 238 left = 284 232 239 top = 127 -
Docking/CoolDocking/Demo/IDE/UMainForm.pas
r182 r184 11 11 UMessagesForm, UCallStackForm, ULocalVariablesForm, UToDoListForm, 12 12 UWatchListForm, UThreadStatusForm, USourceEditorForm, UCoolDockWindowList, 13 UCoolDockCustomize ;13 UCoolDockCustomize, UComponentTree; 14 14 15 15 const … … 22 22 TMainForm = class(TForm) 23 23 published 24 AViewComponentTree: TAction; 24 25 AExit: TAction; 25 26 ANewFile: TAction; … … 57 58 MenuItem20: TMenuItem; 58 59 MenuItem21: TMenuItem; 60 MenuItem22: TMenuItem; 59 61 MenuItem23: TMenuItem; 60 62 MenuItem24: TMenuItem; … … 73 75 MenuItem1: TMenuItem; 74 76 MainMenu1: TMainMenu; 75 Panel1: TPanel;77 DockPanel: TPanel; 76 78 ToolBar1: TToolBar; 77 79 ToolButton1: TToolButton; … … 80 82 procedure AExitExecute(Sender: TObject); 81 83 procedure ANewFileExecute(Sender: TObject); 84 procedure AViewComponentTreeExecute(Sender: TObject); 82 85 procedure AViewThreadStatusExecute(Sender: TObject); 83 86 procedure AViewCallStackExecute(Sender: TObject); … … 153 156 DefaultLayout := CoolDockLayoutList1.FindByName(DefaultLayoutName); 154 157 if not Assigned(DefaultLayout) then begin 155 NewContainer1 := TCoolDock ConjoinForm.Create(nil);158 NewContainer1 := TCoolDockManager(DockPanel.DockManager).CreateContainer(alRight); 156 159 NewContainer1.Show; 157 160 … … 161 164 ObjectInspectorForm.Show; 162 165 163 NewContainer2 := TCoolDock ConjoinForm.Create(nil);166 NewContainer2 := TCoolDockManager(DockPanel.DockManager).CreateContainer(alRight); 164 167 NewContainer2.Show; 165 168 ProjectManagerForm.ManualDock(NewContainer2.Panel, nil, alTop); … … 168 171 ToolPaletteForm.Show; 169 172 170 NewContainer1.ManualDock( Panel1);171 SourceEditorForm.ManualDock( Panel1);173 NewContainer1.ManualDock(DockPanel); 174 SourceEditorForm.ManualDock(DockPanel); 172 175 SourceEditorForm.Show; 173 NewContainer2.ManualDock( Panel1);176 NewContainer2.ManualDock(DockPanel); 174 177 175 178 DefaultLayout := TCoolDockLayout.Create; … … 220 223 CoolDockLayoutList1.Items.Add(NewLayout); 221 224 end else 222 TCoolDockLayout(CoolDockLayoutList1.Items[ComboBox1.ItemIndex]).Store; 225 TCoolDockLayout(CoolDockLayoutList1.Items[ComboBox1.Items.IndexOf(ComboBox1.Text)]).Store; 226 CoolDockLayoutList1.SaveToFile(DockLayoutFileName); 223 227 CoolDockLayoutList1.PopulateStringList(ComboBox1.Items); 224 228 end; … … 232 236 begin 233 237 SourceEditorForm.Show; 238 end; 239 240 procedure TMainForm.AViewComponentTreeExecute(Sender: TObject); 241 begin 242 ComponentTree.Show; 234 243 end; 235 244
Note:
See TracChangeset
for help on using the changeset viewer.