- Timestamp:
- Dec 8, 2010, 10:40:38 AM (14 years ago)
- Location:
- Docking/CoolDocking
- Files:
-
- 2 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/CoolDocking.lpk
r89 r96 24 24 </CompilerOptions> 25 25 <Description Value="Set of components for docking of windows."/> 26 <Version M ajor="1"/>26 <Version Minor="1"/> 27 27 <Files Count="8"> 28 28 <Item1> … … 75 75 </RequiredPkgs> 76 76 <UsageOptions> 77 <UnitPath Value="$(PkgOutDir) \"/>77 <UnitPath Value="$(PkgOutDir)"/> 78 78 </UsageOptions> 79 79 <PublishOptions> -
Docking/CoolDocking/Demo/Demo.lpi
r63 r96 17 17 <StringTable ProductVersion=""/> 18 18 </VersionInfo> 19 <BuildModes Count="1"> 20 <Item1 Name="default" Default="True"/> 21 </BuildModes> 19 22 <PublishOptions> 20 23 <Version Value="2"/> … … 35 38 </Item2> 36 39 </RequiredPackages> 37 <Units Count="5 4">40 <Units Count="57"> 38 41 <Unit0> 39 42 <Filename Value="Demo.lpr"/> … … 43 46 <TopLine Value="1"/> 44 47 <CursorPos X="6" Y="10"/> 45 <UsageCount Value="12 6"/>48 <UsageCount Value="128"/> 46 49 <DefaultSyntaxHighlighter Value="Delphi"/> 47 50 </Unit0> … … 52 55 <ResourceBaseClass Value="Form"/> 53 56 <UnitName Value="UMainForm"/> 54 <WindowIndex Value="0"/> 55 <TopLine Value="58"/> 56 <CursorPos X="3" Y="72"/> 57 <UsageCount Value="126"/> 57 <EditorIndex Value="10"/> 58 <WindowIndex Value="0"/> 59 <TopLine Value="65"/> 60 <CursorPos X="47" Y="78"/> 61 <UsageCount Value="128"/> 62 <Loaded Value="True"/> 63 <LoadedDesigner Value="True"/> 58 64 <DefaultSyntaxHighlighter Value="Delphi"/> 59 65 </Unit1> … … 61 67 <Filename Value="E:\Programy\Lazarus\lcl\controls.pp"/> 62 68 <UnitName Value="Controls"/> 63 <WindowIndex Value="0"/> 64 <TopLine Value="1296"/> 65 <CursorPos X="15" Y="1309"/> 66 <UsageCount Value="62"/> 69 <EditorIndex Value="5"/> 70 <WindowIndex Value="0"/> 71 <TopLine Value="1916"/> 72 <CursorPos X="14" Y="1929"/> 73 <UsageCount Value="63"/> 74 <Loaded Value="True"/> 67 75 </Unit2> 68 76 <Unit3> … … 77 85 <Unit4> 78 86 <Filename Value="E:\Programy\Lazarus\lcl\include\control.inc"/> 79 <WindowIndex Value="0"/> 80 <TopLine Value="71"/> 81 <CursorPos X="1" Y="83"/> 82 <UsageCount Value="55"/> 87 <EditorIndex Value="7"/> 88 <WindowIndex Value="0"/> 89 <TopLine Value="4767"/> 90 <CursorPos X="1" Y="4794"/> 91 <UsageCount Value="56"/> 92 <Loaded Value="True"/> 83 93 </Unit4> 84 94 <Unit5> 85 95 <Filename Value="E:\Programy\Lazarus\lcl\include\wincontrol.inc"/> 86 <WindowIndex Value="0"/> 87 <TopLine Value="5229"/> 88 <CursorPos X="33" Y="5245"/> 96 <EditorIndex Value="14"/> 97 <WindowIndex Value="0"/> 98 <TopLine Value="3429"/> 99 <CursorPos X="1" Y="3442"/> 89 100 <UsageCount Value="61"/> 101 <Loaded Value="True"/> 90 102 </Unit5> 91 103 <Unit6> … … 122 134 <Filename Value="E:\Programy\Lazarus\lcl\lclproc.pas"/> 123 135 <UnitName Value="LCLProc"/> 124 <WindowIndex Value="0"/> 125 <TopLine Value="1495"/> 126 <CursorPos X="1" Y="1516"/> 136 <EditorIndex Value="12"/> 137 <WindowIndex Value="0"/> 138 <TopLine Value="2412"/> 139 <CursorPos X="38" Y="2417"/> 127 140 <UsageCount Value="26"/> 141 <Loaded Value="True"/> 128 142 </Unit10> 129 143 <Unit11> … … 166 180 <TopLine Value="7"/> 167 181 <CursorPos X="33" Y="21"/> 168 <UsageCount Value="12 5"/>182 <UsageCount Value="127"/> 169 183 <DefaultSyntaxHighlighter Value="Delphi"/> 170 184 </Unit15> … … 214 228 <Filename Value="E:\Programy\Lazarus\lcl\extctrls.pp"/> 215 229 <UnitName Value="ExtCtrls"/> 216 <WindowIndex Value="0"/> 217 <TopLine Value="1250"/> 218 <CursorPos X="19" Y="1263"/> 230 <EditorIndex Value="4"/> 231 <WindowIndex Value="0"/> 232 <TopLine Value="263"/> 233 <CursorPos X="3" Y="273"/> 219 234 <UsageCount Value="28"/> 235 <Loaded Value="True"/> 220 236 </Unit21> 221 237 <Unit22> 222 238 <Filename Value="E:\Programy\Lazarus\lcl\interfaces\win32\win32wsbuttons.pp"/> 223 239 <UnitName Value="Win32WSButtons"/> 224 <WindowIndex Value="0"/> 225 <TopLine Value="479"/> 226 <CursorPos X="30" Y="488"/> 227 <UsageCount Value="1"/> 240 <EditorIndex Value="15"/> 241 <WindowIndex Value="0"/> 242 <TopLine Value="480"/> 243 <CursorPos X="37" Y="496"/> 244 <UsageCount Value="10"/> 245 <Loaded Value="True"/> 228 246 </Unit22> 229 247 <Unit23> … … 236 254 <Unit24> 237 255 <Filename Value="E:\Programy\Lazarus\lcl\include\customform.inc"/> 238 <WindowIndex Value="0"/> 239 <TopLine Value="1452"/> 240 <CursorPos X="5" Y="1467"/> 256 <EditorIndex Value="11"/> 257 <WindowIndex Value="0"/> 258 <TopLine Value="2573"/> 259 <CursorPos X="36" Y="2586"/> 241 260 <UsageCount Value="11"/> 261 <Loaded Value="True"/> 242 262 </Unit24> 243 263 <Unit25> … … 252 272 <Filename Value="E:\Programy\Lazarus\lcl\comctrls.pp"/> 253 273 <UnitName Value="ComCtrls"/> 254 <WindowIndex Value="0"/> 255 <TopLine Value="398"/> 256 <CursorPos X="59" Y="408"/> 257 <UsageCount Value="12"/> 274 <EditorIndex Value="2"/> 275 <WindowIndex Value="0"/> 276 <TopLine Value="553"/> 277 <CursorPos X="29" Y="560"/> 278 <UsageCount Value="12"/> 279 <Loaded Value="True"/> 258 280 </Unit26> 259 281 <Unit27> 260 282 <Filename Value="E:\Programy\Lazarus\lcl\forms.pp"/> 261 283 <UnitName Value="Forms"/> 262 <WindowIndex Value="0"/> 263 <TopLine Value="529"/> 264 <CursorPos X="21" Y="541"/> 284 <EditorIndex Value="13"/> 285 <WindowIndex Value="0"/> 286 <TopLine Value="492"/> 287 <CursorPos X="14" Y="505"/> 265 288 <UsageCount Value="35"/> 289 <Loaded Value="True"/> 266 290 </Unit27> 267 291 <Unit28> … … 272 296 <TopLine Value="2148"/> 273 297 <CursorPos X="21" Y="2148"/> 274 <UsageCount Value="3 0"/>298 <UsageCount Value="31"/> 275 299 <Loaded Value="True"/> 276 300 </Unit28> … … 314 338 <EditorIndex Value="1"/> 315 339 <WindowIndex Value="0"/> 316 <TopLine Value=" 1044"/>317 <CursorPos X=" 49" Y="1054"/>318 <UsageCount Value="5 3"/>340 <TopLine Value="819"/> 341 <CursorPos X="78" Y="826"/> 342 <UsageCount Value="54"/> 319 343 <Loaded Value="True"/> 320 344 <DefaultSyntaxHighlighter Value="Delphi"/> … … 389 413 <TopLine Value="1"/> 390 414 <CursorPos X="53" Y="2"/> 391 <UsageCount Value=" 68"/>415 <UsageCount Value="70"/> 392 416 <DefaultSyntaxHighlighter Value="Delphi"/> 393 417 </Unit41> … … 416 440 <Unit45> 417 441 <Filename Value="E:\Programy\Lazarus\lcl\include\tabcontrol.inc"/> 418 <WindowIndex Value="0"/> 419 <TopLine Value="182"/> 420 <CursorPos X="3" Y="184"/> 421 <UsageCount Value="12"/> 442 <EditorIndex Value="3"/> 443 <WindowIndex Value="0"/> 444 <TopLine Value="233"/> 445 <CursorPos X="45" Y="239"/> 446 <UsageCount Value="12"/> 447 <Loaded Value="True"/> 422 448 </Unit45> 423 449 <Unit46> … … 477 503 <UsageCount Value="11"/> 478 504 </Unit53> 505 <Unit54> 506 <Filename Value="UComponentTree.pas"/> 507 <IsPartOfProject Value="True"/> 508 <ComponentName Value="ComponentTree"/> 509 <ResourceBaseClass Value="Form"/> 510 <UnitName Value="UComponentTree"/> 511 <EditorIndex Value="8"/> 512 <WindowIndex Value="0"/> 513 <TopLine Value="37"/> 514 <CursorPos X="33" Y="52"/> 515 <UsageCount Value="22"/> 516 <Loaded Value="True"/> 517 <LoadedDesigner Value="True"/> 518 <DefaultSyntaxHighlighter Value="Delphi"/> 519 </Unit54> 520 <Unit55> 521 <Filename Value="E:\Programy\Lazarus\lcl\include\treeview.inc"/> 522 <EditorIndex Value="9"/> 523 <WindowIndex Value="0"/> 524 <TopLine Value="311"/> 525 <CursorPos X="3" Y="332"/> 526 <UsageCount Value="11"/> 527 <Loaded Value="True"/> 528 </Unit55> 529 <Unit56> 530 <Filename Value="E:\Programy\Lazarus\fpc\2.4.3\source\rtl\objpas\classes\classesh.inc"/> 531 <EditorIndex Value="6"/> 532 <WindowIndex Value="0"/> 533 <TopLine Value="1659"/> 534 <CursorPos X="17" Y="1675"/> 535 <UsageCount Value="11"/> 536 <Loaded Value="True"/> 537 </Unit56> 479 538 </Units> 480 <JumpHistory Count=" 13" HistoryIndex="12">539 <JumpHistory Count="30" HistoryIndex="28"> 481 540 <Position1> 482 <Filename Value=" ..\UCoolDocking.pas"/>483 <Caret Line=" 1032" Column="39" TopLine="1017"/>541 <Filename Value="E:\Programy\Lazarus\lcl\include\wincontrol.inc"/> 542 <Caret Line="4520" Column="1" TopLine="4507"/> 484 543 </Position1> 485 544 <Position2> 486 <Filename Value=" ..\UCoolDocking.pas"/>487 <Caret Line=" 1020" Column="1" TopLine="1015"/>545 <Filename Value="E:\Programy\Lazarus\lcl\include\wincontrol.inc"/> 546 <Caret Line="4525" Column="1" TopLine="4507"/> 488 547 </Position2> 489 548 <Position3> 490 <Filename Value=" ..\UCoolDocking.pas"/>491 <Caret Line=" 1020" Column="14" TopLine="1015"/>549 <Filename Value="E:\Programy\Lazarus\lcl\include\wincontrol.inc"/> 550 <Caret Line="4520" Column="1" TopLine="4507"/> 492 551 </Position3> 493 552 <Position4> 494 <Filename Value=" ..\UCoolDocking.pas"/>495 <Caret Line=" 1020" Column="49" TopLine="1007"/>553 <Filename Value="E:\Programy\Lazarus\lcl\include\wincontrol.inc"/> 554 <Caret Line="4521" Column="1" TopLine="4507"/> 496 555 </Position4> 497 556 <Position5> 498 <Filename Value=" ..\UCoolDocking.pas"/>499 <Caret Line=" 1022" Column="1" TopLine="1013"/>557 <Filename Value="E:\Programy\Lazarus\lcl\include\wincontrol.inc"/> 558 <Caret Line="4523" Column="1" TopLine="4507"/> 500 559 </Position5> 501 560 <Position6> 502 <Filename Value=" ..\UCoolDocking.pas"/>503 <Caret Line=" 1020" Column="45" TopLine="1007"/>561 <Filename Value="E:\Programy\Lazarus\lcl\include\wincontrol.inc"/> 562 <Caret Line="4525" Column="1" TopLine="4507"/> 504 563 </Position6> 505 564 <Position7> 506 <Filename Value=" ..\UCoolDocking.pas"/>507 <Caret Line=" 13" Column="11" TopLine="1"/>565 <Filename Value="E:\Programy\Lazarus\lcl\include\wincontrol.inc"/> 566 <Caret Line="4411" Column="23" TopLine="4401"/> 508 567 </Position7> 509 568 <Position8> 510 <Filename Value=" ..\UCoolDocking.pas"/>511 <Caret Line=" 1021" Column="68" TopLine="1008"/>569 <Filename Value="E:\Programy\Lazarus\lcl\include\wincontrol.inc"/> 570 <Caret Line="4410" Column="1" TopLine="4401"/> 512 571 </Position8> 513 572 <Position9> 514 <Filename Value=" ..\UCoolDocking.pas"/>515 <Caret Line=" 1027" Column="1" TopLine="1008"/>573 <Filename Value="E:\Programy\Lazarus\lcl\include\wincontrol.inc"/> 574 <Caret Line="4457" Column="1" TopLine="4436"/> 516 575 </Position9> 517 576 <Position10> 518 <Filename Value=" ..\UCoolDocking.pas"/>519 <Caret Line=" 1024" Column="9" TopLine="1008"/>577 <Filename Value="E:\Programy\Lazarus\lcl\include\customform.inc"/> 578 <Caret Line="799" Column="1" TopLine="786"/> 520 579 </Position10> 521 580 <Position11> 522 <Filename Value=" ..\UCoolDocking.pas"/>523 <Caret Line=" 904" Column="77" TopLine="899"/>581 <Filename Value="E:\Programy\Lazarus\lcl\include\customform.inc"/> 582 <Caret Line="800" Column="1" TopLine="786"/> 524 583 </Position11> 525 584 <Position12> 526 <Filename Value=" ..\UCoolDocking.pas"/>527 <Caret Line="1 064" Column="38" TopLine="1045"/>585 <Filename Value="E:\Programy\Lazarus\lcl\include\customform.inc"/> 586 <Caret Line="1727" Column="1" TopLine="1714"/> 528 587 </Position12> 529 588 <Position13> 589 <Filename Value="E:\Programy\Lazarus\lcl\include\customform.inc"/> 590 <Caret Line="1728" Column="1" TopLine="1714"/> 591 </Position13> 592 <Position14> 593 <Filename Value="E:\Programy\Lazarus\lcl\include\customform.inc"/> 594 <Caret Line="1729" Column="1" TopLine="1714"/> 595 </Position14> 596 <Position15> 597 <Filename Value="E:\Programy\Lazarus\lcl\include\customform.inc"/> 598 <Caret Line="1733" Column="20" TopLine="1714"/> 599 </Position15> 600 <Position16> 601 <Filename Value="E:\Programy\Lazarus\lcl\include\customform.inc"/> 602 <Caret Line="1734" Column="1" TopLine="1714"/> 603 </Position16> 604 <Position17> 605 <Filename Value="E:\Programy\Lazarus\lcl\include\customform.inc"/> 606 <Caret Line="1737" Column="22" TopLine="1725"/> 607 </Position17> 608 <Position18> 609 <Filename Value="E:\Programy\Lazarus\lcl\include\wincontrol.inc"/> 610 <Caret Line="3442" Column="1" TopLine="3429"/> 611 </Position18> 612 <Position19> 613 <Filename Value="E:\Programy\Lazarus\lcl\include\customform.inc"/> 614 <Caret Line="1737" Column="1" TopLine="1725"/> 615 </Position19> 616 <Position20> 617 <Filename Value="E:\Programy\Lazarus\lcl\include\wincontrol.inc"/> 618 <Caret Line="3442" Column="1" TopLine="3429"/> 619 </Position20> 620 <Position21> 621 <Filename Value="E:\Programy\Lazarus\lcl\include\customform.inc"/> 622 <Caret Line="2586" Column="1" TopLine="2573"/> 623 </Position21> 624 <Position22> 625 <Filename Value="E:\Programy\Lazarus\lcl\include\customform.inc"/> 626 <Caret Line="1737" Column="1" TopLine="1724"/> 627 </Position22> 628 <Position23> 629 <Filename Value="E:\Programy\Lazarus\lcl\include\customform.inc"/> 630 <Caret Line="2587" Column="32" TopLine="2570"/> 631 </Position23> 632 <Position24> 633 <Filename Value="E:\Programy\Lazarus\lcl\include\customform.inc"/> 634 <Caret Line="2586" Column="1" TopLine="2570"/> 635 </Position24> 636 <Position25> 637 <Filename Value="E:\Programy\Lazarus\lcl\include\customform.inc"/> 638 <Caret Line="2588" Column="1" TopLine="2570"/> 639 </Position25> 640 <Position26> 641 <Filename Value="E:\Programy\Lazarus\lcl\include\customform.inc"/> 642 <Caret Line="1744" Column="1" TopLine="1731"/> 643 </Position26> 644 <Position27> 645 <Filename Value="E:\Programy\Lazarus\lcl\include\customform.inc"/> 646 <Caret Line="2587" Column="34" TopLine="2573"/> 647 </Position27> 648 <Position28> 649 <Filename Value="E:\Programy\Lazarus\lcl\include\customform.inc"/> 650 <Caret Line="1744" Column="1" TopLine="1731"/> 651 </Position28> 652 <Position29> 530 653 <Filename Value="..\UCoolDocking.pas"/> 531 <Caret Line="1054" Column="1" TopLine="1044"/> 532 </Position13> 654 <Caret Line="826" Column="47" TopLine="819"/> 655 </Position29> 656 <Position30> 657 <Filename Value="..\UCoolDocking.pas"/> 658 <Caret Line="69" Column="5" TopLine="56"/> 659 </Position30> 533 660 </JumpHistory> 534 661 </ProjectOptions> … … 562 689 <UseHeaptrc Value="True"/> 563 690 </Debugging> 564 <Options>565 <Win32>566 <GraphicApplication Value="True"/>567 </Win32>568 </Options>569 691 </Linking> 570 692 <Other> … … 577 699 </CompilerOptions> 578 700 <Debugging> 579 <Watches Count=" 1">701 <Watches Count="2"> 580 702 <Item1> 581 <Expression Value=" TabControl"/>703 <Expression Value="Self.FName"/> 582 704 </Item1> 705 <Item2> 706 <Expression Value="List.FCount"/> 707 </Item2> 583 708 </Watches> 584 709 <Exceptions Count="3"> -
Docking/CoolDocking/Demo/Demo.lpr
r58 r96 8 8 {$ENDIF}{$ENDIF} 9 9 Interfaces, // this includes the LCL widgetset 10 Forms, UMainForm, UDockForm, CoolDocking, SampleDockableForm ;10 Forms, UMainForm, UDockForm, CoolDocking, SampleDockableForm, UComponentTree; 11 11 12 12 {$R *.res} … … 16 16 Application.CreateForm(TMainForm, MainForm); 17 17 Application.CreateForm(TForm1, Form1); 18 Application.CreateForm(TComponentTree, ComponentTree); 18 19 Application.Run; 19 20 end. -
Docking/CoolDocking/Demo/UMainForm.lfm
r59 r96 31 31 TabOrder = 1 32 32 end 33 object Button2: TButton 34 Left = 94 35 Height = 25 36 Top = 10 37 Width = 107 38 Caption = 'Component tree' 39 OnClick = Button2Click 40 TabOrder = 2 41 end 33 42 object CoolDockMaster1: TCoolDockMaster 34 43 TabsEnabled = False 44 DefaultTabsPos = hpAuto 35 45 DefaultHeaderPos = hpAuto 36 46 Customize = CoolDockCustomize1 … … 65 75 object CoolDockClient1: TCoolDockClient 66 76 Dockable = False 77 Floatable = False 67 78 Master = CoolDockMaster1 68 79 Panel = Panel1 -
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 -
Docking/CoolDocking/UCoolDockCustomize.lfm
r89 r96 1 1 object CoolDockCustomizeForm: TCoolDockCustomizeForm 2 Left = 338 2 3 Left = 431 3 4 Height = 323 5 Top = 96 4 6 Top = 139 5 7 Width = 407 -
Docking/CoolDocking/UCoolDockCustomize.lrs
r89 r96 2 2 3 3 LazarusResources.Add('TCoolDockCustomizeForm','FORMDATA',[ 4 'TPF0'#22'TCoolDockCustomizeForm'#21'CoolDockCustomizeForm'#4'Left'#3'R'#1#6 5 +'Height'#3'C'#1#3'Top'#2'`'#5'Width'#3#151#1#7'Caption'#6#17'Customize docki' 6 +'ng'#12'ClientHeight'#3'C'#1#11'ClientWidth'#3#151#1#10'LCLVersion'#6#6'0.9.' 7 +'29'#0#12'TPageControl'#12'PageControl1'#4'Left'#2#8#6'Height'#3#22#1#3'Top' 8 +#2#8#5'Width'#3#137#1#10'ActivePage'#7#15'TabSheetSetting'#7'Anchors'#11#5'a' 9 +'kTop'#6'akLeft'#7'akRight'#8'akBottom'#0#8'TabIndex'#2#0#8'TabOrder'#2#0#0#9 10 +'TTabSheet'#15'TabSheetSetting'#7'Caption'#6#7'Options'#12'ClientHeight'#3 11 +#252#0#11'ClientWidth'#3#129#1#0#6'TLabel'#6'Label1'#4'Left'#2#7#6'Height'#2 12 +#14#3'Top'#2#13#5'Width'#2'h'#7'Caption'#6#22'Default tabs position:'#11'Par' 13 +'entColor'#8#0#0#9'TComboBox'#9'ComboBox1'#4'Left'#3#132#0#6'Height'#2#21#3 14 +'Top'#2#10#5'Width'#2'd'#10'ItemHeight'#2#13#8'TabOrder'#2#0#4'Text'#6#9'Com' 15 +'boBox1'#0#0#6'TLabel'#6'Label2'#4'Left'#2#7#6'Height'#2#14#3'Top'#2')'#5'Wi' 16 +'dth'#2'u'#7'Caption'#6#24'Default header position:'#11'ParentColor'#8#0#0#9 17 +'TComboBox'#9'ComboBox2'#4'Left'#3#132#0#6'Height'#2#21#3'Top'#2'&'#5'Width' 18 +#2'd'#10'ItemHeight'#2#13#8'TabOrder'#2#1#4'Text'#6#9'ComboBox1'#0#0#0#9'TTa' 19 +'bSheet'#15'TabSheetLayouts'#7'Caption'#6#7'Layouts'#12'ClientHeight'#3#252#0 20 +#11'ClientWidth'#3#129#1#0#8'TListBox'#8'ListBox1'#4'Left'#2#10#6'Height'#3 21 +#231#0#3'Top'#2#11#5'Width'#3#180#0#7'Anchors'#11#5'akTop'#6'akLeft'#8'akBot' 22 +'tom'#0#10'ItemHeight'#2#0#8'TabOrder'#2#0#0#0#0#0#7'TButton'#11'ButtonClose' 23 +#4'Left'#3'D'#1#6'Height'#2#22#3'Top'#3'&'#1#5'Width'#2'K'#7'Anchors'#11#7'a' 24 +'kRight'#8'akBottom'#0#7'Caption'#6#5'Close'#7'OnClick'#7#16'ButtonCloseClic' 25 +'k'#8'TabOrder'#2#1#0#0#0 4 26 'TPF0'#22'TCoolDockCustomizeForm'#21'CoolDockCustomizeForm'#4'Left'#3#175#1#6 5 27 +'Height'#3'C'#1#3'Top'#3#139#0#5'Width'#3#151#1#7'Caption'#6#17'Customize do' -
Docking/CoolDocking/UCoolDocking.pas
r89 r96 32 32 Panel: TPanel; 33 33 CoolDockClient: TCoolDockClient; 34 procedure FormShow(Sender : TObject); 34 35 constructor Create(TheOwner: TComponent); override; 35 36 end; … … 365 366 366 367 PopupMenuTabs := TPopupMenu.Create(FDockSite); 368 PopupMenuTabs.Name := ADockSite.Name + '_' + 'PopupMenuTabs'; 367 369 368 370 NewMenuItem := TMenuItem.Create(PopupMenuTabs); … … 432 434 433 435 PopupMenuHeader := TPopupMenu.Create(FDockSite); 436 PopupMenuHeader.Name := ADockSite.Name + '_' + 'PopupMenuHeader'; 434 437 435 438 NewMenuItem := TMenuItem.Create(PopupMenuHeader); … … 498 501 TabImageList := TImageList.Create(FDockSite); 499 502 with TabImageList do begin 503 Name := ADockSite.Name + '_' + 'ImageList'; 500 504 end; 501 505 TabControl := TTabControl.Create(FDockSite); 502 506 with TabControl do begin 503 507 Parent := FDockSite; 508 Name := ADockSite.Name + '_' + 'TabControl'; 504 509 Visible := False; 505 510 Align := alTop; … … 863 868 TCoolDockClientPanel(FDockPanels[I]).Control.Align := alClient; 864 869 TCoolDockClientPanel(FDockPanels[I]).Control.Visible := False; 870 871 // Workaround for "Cannot focus" error 872 TForm(TCoolDockClientPanel(FDockPanels[I]).Control).ActiveControl := nil; 865 873 end; 866 874 if (TabControl.TabIndex <> -1) and (FDockPanels.Count > TabControl.TabIndex) then begin … … 882 890 end; 883 891 end; 884 //TCoolDockClientPanel(FDockPanels[TabControl.TabIndex]).Visible := True;892 //TCoolDockClientPanel(FDockPanels[TabControl.TabIndex]).Visible := True; 885 893 end; 886 894 MouseDownSkip := True; … … 1108 1116 { TCoolDockConjoinForm } 1109 1117 1118 procedure TCoolDockConjoinForm.FormShow(Sender: TObject); 1119 begin 1120 //Panel.Show; 1121 end; 1122 1110 1123 constructor TCoolDockConjoinForm.Create(TheOwner: TComponent); 1111 1124 begin … … 1114 1127 with Panel do begin 1115 1128 Parent := Self; 1129 Name := Parent.Name + '_Panel'; 1116 1130 DockSite := True; 1117 1131 UseDockManager := True; … … 1124 1138 with CoolDockClient do begin 1125 1139 Panel := Self.Panel; 1126 end; 1140 Name := Owner.Name + '_CoolDockClient'; 1141 end; 1142 OnShow := FormShow; 1127 1143 end; 1128 1144
Note:
See TracChangeset
for help on using the changeset viewer.