Changeset 208 for Docking/CoolDocking
- Timestamp:
- Mar 18, 2011, 1:24:37 PM (14 years ago)
- Location:
- Docking/CoolDocking
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/Demo/IDE/IDE.lpi
r207 r208 47 47 </Item4> 48 48 </RequiredPackages> 49 <Units Count=" 55">49 <Units Count="62"> 50 50 <Unit0> 51 51 <Filename Value="IDE.lpr"/> … … 65 65 <EditorIndex Value="1"/> 66 66 <WindowIndex Value="0"/> 67 <TopLine Value=" 96"/>68 <CursorPos X=" 26" Y="95"/>67 <TopLine Value="161"/> 68 <CursorPos X="54" Y="168"/> 69 69 <UsageCount Value="314"/> 70 70 <Loaded Value="True"/> … … 106 106 <Unit5> 107 107 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/> 108 <EditorIndex Value="3"/> 109 <WindowIndex Value="0"/> 110 <TopLine Value="3705"/> 111 <CursorPos X="1" Y="3726"/> 112 <UsageCount Value="77"/> 113 <Loaded Value="True"/> 108 <WindowIndex Value="0"/> 109 <TopLine Value="2414"/> 110 <CursorPos X="1" Y="2427"/> 111 <UsageCount Value="78"/> 114 112 </Unit5> 115 113 <Unit6> … … 127 125 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\customform.inc"/> 128 126 <WindowIndex Value="0"/> 129 <TopLine Value=" 941"/>130 <CursorPos X="1" Y=" 954"/>127 <TopLine Value="1121"/> 128 <CursorPos X="1" Y="1134"/> 131 129 <UsageCount Value="31"/> 132 130 </Unit7> … … 220 218 <UnitName Value="UCDLayout"/> 221 219 <WindowIndex Value="0"/> 222 <TopLine Value=" 1"/>223 <CursorPos X=" 22" Y="16"/>220 <TopLine Value="344"/> 221 <CursorPos X="43" Y="365"/> 224 222 <UsageCount Value="61"/> 225 223 </Unit16> … … 227 225 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\FPC\rtl\objpas\classes\classesh.inc"/> 228 226 <WindowIndex Value="0"/> 229 <TopLine Value="2 0"/>230 <CursorPos X="1 9" Y="33"/>227 <TopLine Value="285"/> 228 <CursorPos X="14" Y="298"/> 231 229 <UsageCount Value="15"/> 232 230 </Unit17> … … 243 241 <UnitName Value="Forms"/> 244 242 <WindowIndex Value="0"/> 245 <TopLine Value=" 702"/>246 <CursorPos X=" 22" Y="715"/>247 <UsageCount Value=" 7"/>243 <TopLine Value="1790"/> 244 <CursorPos X="1" Y="1803"/> 245 <UsageCount Value="10"/> 248 246 </Unit19> 249 247 <Unit20> … … 257 255 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\controls.pp"/> 258 256 <UnitName Value="Controls"/> 259 <WindowIndex Value="0"/> 260 <TopLine Value="1385"/> 261 <CursorPos X="14" Y="1398"/> 257 <EditorIndex Value="3"/> 258 <WindowIndex Value="0"/> 259 <TopLine Value="508"/> 260 <CursorPos X="15" Y="521"/> 262 261 <UsageCount Value="58"/> 262 <Loaded Value="True"/> 263 263 </Unit21> 264 264 <Unit22> 265 265 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\wincontrol.inc"/> 266 <EditorIndex Value=" 8"/>266 <EditorIndex Value="6"/> 267 267 <WindowIndex Value="0"/> 268 268 <TopLine Value="6712"/> 269 <CursorPos X="1 8" Y="6726"/>269 <CursorPos X="1" Y="6725"/> 270 270 <UsageCount Value="111"/> 271 271 <Loaded Value="True"/> … … 293 293 <Filename Value="..\..\UCDPopupMenu.pas"/> 294 294 <UnitName Value="UCDPopupMenu"/> 295 <EditorIndex Value="7"/>296 295 <WindowIndex Value="0"/> 297 296 <TopLine Value="319"/> 298 <CursorPos X="1" Y="33 7"/>297 <CursorPos X="1" Y="335"/> 299 298 <UsageCount Value="141"/> 300 <Loaded Value="True"/>301 299 </Unit25> 302 300 <Unit26> … … 304 302 <UnitName Value="LCLClasses"/> 305 303 <WindowIndex Value="0"/> 306 <TopLine Value=" 81"/>307 <CursorPos X=" 20" Y="94"/>308 <UsageCount Value=" 6"/>304 <TopLine Value="61"/> 305 <CursorPos X="33" Y="78"/> 306 <UsageCount Value="10"/> 309 307 </Unit26> 310 308 <Unit27> … … 327 325 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 328 326 <UnitName Value="UCDManagerTabs"/> 329 <EditorIndex Value="6"/> 330 <WindowIndex Value="0"/> 331 <TopLine Value="11"/> 332 <CursorPos X="33" Y="24"/> 327 <IsVisibleTab Value="True"/> 328 <EditorIndex Value="5"/> 329 <WindowIndex Value="0"/> 330 <TopLine Value="32"/> 331 <CursorPos X="1" Y="46"/> 333 332 <UsageCount Value="130"/> 334 333 <Loaded Value="True"/> … … 337 336 <Filename Value="..\..\Managers\UCDManagerRegions.pas"/> 338 337 <UnitName Value="UCDManagerRegions"/> 339 <EditorIndex Value=" 5"/>340 <WindowIndex Value="0"/> 341 <TopLine Value=" 56"/>342 <CursorPos X=" 15" Y="69"/>338 <EditorIndex Value="4"/> 339 <WindowIndex Value="0"/> 340 <TopLine Value="208"/> 341 <CursorPos X="3" Y="221"/> 343 342 <UsageCount Value="129"/> 344 343 <Loaded Value="True"/> … … 349 348 <EditorIndex Value="0"/> 350 349 <WindowIndex Value="0"/> 351 <TopLine Value=" 45"/>352 <CursorPos X=" 35" Y="53"/>350 <TopLine Value="259"/> 351 <CursorPos X="1" Y="266"/> 353 352 <UsageCount Value="120"/> 354 353 <Loaded Value="True"/> … … 377 376 <Filename Value="..\..\UCDManager.pas"/> 378 377 <UnitName Value="UCDManager"/> 379 <IsVisibleTab Value="True"/>380 378 <EditorIndex Value="2"/> 381 379 <WindowIndex Value="0"/> 382 <TopLine Value=" 202"/>383 <CursorPos X="1" Y=" 223"/>380 <TopLine Value="458"/> 381 <CursorPos X="1" Y="471"/> 384 382 <UsageCount Value="105"/> 385 383 <Loaded Value="True"/> … … 388 386 <Filename Value="..\..\UCDConjoinForm.pas"/> 389 387 <UnitName Value="UCDConjoinForm"/> 390 <EditorIndex Value="4"/>391 388 <WindowIndex Value="0"/> 392 389 <TopLine Value="38"/> 393 390 <CursorPos X="17" Y="51"/> 394 391 <UsageCount Value="99"/> 395 <Loaded Value="True"/>396 392 </Unit35> 397 393 <Unit36> … … 399 395 <UnitName Value="ExtCtrls"/> 400 396 <WindowIndex Value="0"/> 401 <TopLine Value=" 1181"/>402 <CursorPos X=" 22" Y="1194"/>397 <TopLine Value="215"/> 398 <CursorPos X="14" Y="228"/> 403 399 <UsageCount Value="96"/> 404 400 </Unit36> … … 406 402 <Filename Value="..\..\UCDMaster.pas"/> 407 403 <UnitName Value="UCDMaster"/> 408 <EditorIndex Value="9"/>409 404 <WindowIndex Value="0"/> 410 405 <TopLine Value="11"/> 411 406 <CursorPos X="18" Y="19"/> 412 407 <UsageCount Value="101"/> 413 <Loaded Value="True"/>414 408 </Unit37> 415 409 <Unit38> … … 417 411 <UnitName Value="ComCtrls"/> 418 412 <WindowIndex Value="0"/> 419 <TopLine Value=" 343"/>420 <CursorPos X=" 14" Y="356"/>413 <TopLine Value="290"/> 414 <CursorPos X="45" Y="308"/> 421 415 <UsageCount Value="91"/> 422 416 </Unit38> … … 476 470 <UnitName Value="ImgList"/> 477 471 <WindowIndex Value="0"/> 478 <TopLine Value="16 5"/>479 <CursorPos X="15" Y="1 78"/>472 <TopLine Value="160"/> 473 <CursorPos X="15" Y="188"/> 480 474 <UsageCount Value="21"/> 481 475 </Unit45> … … 483 477 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\imglist.inc"/> 484 478 <WindowIndex Value="0"/> 485 <TopLine Value="5 54"/>486 <CursorPos X=" 9" Y="564"/>479 <TopLine Value="53"/> 480 <CursorPos X="1" Y="66"/> 487 481 <UsageCount Value="21"/> 488 482 </Unit46> … … 506 500 <UnitName Value="Menus"/> 507 501 <WindowIndex Value="0"/> 508 <TopLine Value=" 153"/>509 <CursorPos X="1 5" Y="166"/>510 <UsageCount Value=" 5"/>502 <TopLine Value="424"/> 503 <CursorPos X="10" Y="437"/> 504 <UsageCount Value="10"/> 511 505 </Unit49> 512 506 <Unit50> … … 521 515 <UnitName Value="LCLType"/> 522 516 <WindowIndex Value="0"/> 523 <TopLine Value=" 70"/>524 <CursorPos X="3" Y=" 83"/>517 <TopLine Value="140"/> 518 <CursorPos X="3" Y="153"/> 525 519 <UsageCount Value="26"/> 526 520 </Unit51> … … 548 542 <UsageCount Value="12"/> 549 543 </Unit54> 544 <Unit55> 545 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\dragmanager.inc"/> 546 <WindowIndex Value="0"/> 547 <TopLine Value="553"/> 548 <CursorPos X="1" Y="566"/> 549 <UsageCount Value="10"/> 550 </Unit55> 551 <Unit56> 552 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\custompage.inc"/> 553 <WindowIndex Value="0"/> 554 <TopLine Value="104"/> 555 <CursorPos X="3" Y="111"/> 556 <UsageCount Value="10"/> 557 </Unit56> 558 <Unit57> 559 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\tabsheet.inc"/> 560 <WindowIndex Value="0"/> 561 <TopLine Value="48"/> 562 <CursorPos X="1" Y="70"/> 563 <UsageCount Value="10"/> 564 </Unit57> 565 <Unit58> 566 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\lclmessageglue.pas"/> 567 <UnitName Value="LCLMessageGlue"/> 568 <WindowIndex Value="0"/> 569 <TopLine Value="98"/> 570 <CursorPos X="1" Y="111"/> 571 <UsageCount Value="10"/> 572 </Unit58> 573 <Unit59> 574 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\interfaces\win32\win32proc.pp"/> 575 <UnitName Value="win32proc"/> 576 <WindowIndex Value="0"/> 577 <TopLine Value="756"/> 578 <CursorPos X="1" Y="769"/> 579 <UsageCount Value="10"/> 580 </Unit59> 581 <Unit60> 582 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\interfaces\win32\win32wscontrols.pp"/> 583 <UnitName Value="Win32WSControls"/> 584 <WindowIndex Value="0"/> 585 <TopLine Value="474"/> 586 <CursorPos X="1" Y="487"/> 587 <UsageCount Value="10"/> 588 </Unit60> 589 <Unit61> 590 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\FPC\rtl\objpas\classes\lists.inc"/> 591 <WindowIndex Value="0"/> 592 <TopLine Value="699"/> 593 <CursorPos X="3" Y="701"/> 594 <UsageCount Value="10"/> 595 </Unit61> 550 596 </Units> 551 597 <JumpHistory Count="30" HistoryIndex="29"> 552 598 <Position1> 553 <Filename Value="..\..\Managers\UCDManager Regions.pas"/>554 <Caret Line=" 287" Column="1" TopLine="271"/>599 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 600 <Caret Line="362" Column="1" TopLine="341"/> 555 601 </Position1> 556 602 <Position2> 557 <Filename Value="..\..\Managers\UCDManager Regions.pas"/>558 <Caret Line=" 288" Column="1" TopLine="271"/>603 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 604 <Caret Line="365" Column="1" TopLine="344"/> 559 605 </Position2> 560 606 <Position3> 561 <Filename Value="..\..\Managers\UCDManager Regions.pas"/>562 <Caret Line=" 289" Column="1" TopLine="271"/>607 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 608 <Caret Line="366" Column="1" TopLine="345"/> 563 609 </Position3> 564 610 <Position4> 565 <Filename Value="..\..\Managers\UCDManager Regions.pas"/>566 <Caret Line=" 290" Column="1" TopLine="271"/>611 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 612 <Caret Line="367" Column="1" TopLine="346"/> 567 613 </Position4> 568 614 <Position5> 569 <Filename Value="..\..\Managers\UCDManager Regions.pas"/>570 <Caret Line=" 291" Column="1" TopLine="271"/>615 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 616 <Caret Line="368" Column="1" TopLine="347"/> 571 617 </Position5> 572 618 <Position6> 573 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/>574 <Caret Line="369 1" Column="1" TopLine="3678"/>619 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 620 <Caret Line="369" Column="1" TopLine="348"/> 575 621 </Position6> 576 622 <Position7> 577 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/>578 <Caret Line="3 694" Column="1" TopLine="3678"/>623 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 624 <Caret Line="370" Column="1" TopLine="349"/> 579 625 </Position7> 580 626 <Position8> 581 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/>582 <Caret Line="3 695" Column="1" TopLine="3678"/>627 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 628 <Caret Line="371" Column="1" TopLine="350"/> 583 629 </Position8> 584 630 <Position9> 585 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/>586 <Caret Line="3 696" Column="1" TopLine="3678"/>631 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 632 <Caret Line="372" Column="1" TopLine="351"/> 587 633 </Position9> 588 634 <Position10> 589 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/>590 <Caret Line="3 697" Column="1" TopLine="3678"/>635 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 636 <Caret Line="373" Column="1" TopLine="352"/> 591 637 </Position10> 592 638 <Position11> 593 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/>594 <Caret Line="36 98" Column="1" TopLine="3678"/>639 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 640 <Caret Line="366" Column="1" TopLine="352"/> 595 641 </Position11> 596 642 <Position12> 597 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/>598 <Caret Line="3 700" Column="1" TopLine="3679"/>643 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 644 <Caret Line="367" Column="1" TopLine="352"/> 599 645 </Position12> 600 646 <Position13> 601 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/>602 <Caret Line="3 702" Column="1" TopLine="3681"/>647 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 648 <Caret Line="368" Column="1" TopLine="352"/> 603 649 </Position13> 604 650 <Position14> 605 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/>606 <Caret Line="3 703" Column="1" TopLine="3682"/>651 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 652 <Caret Line="369" Column="1" TopLine="352"/> 607 653 </Position14> 608 654 <Position15> 609 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/>610 <Caret Line="370 6" Column="1" TopLine="3685"/>655 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 656 <Caret Line="370" Column="1" TopLine="352"/> 611 657 </Position15> 612 658 <Position16> 613 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/>614 <Caret Line="37 07" Column="1" TopLine="3686"/>659 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 660 <Caret Line="371" Column="1" TopLine="352"/> 615 661 </Position16> 616 662 <Position17> 617 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/>618 <Caret Line="37 08" Column="1" TopLine="3687"/>663 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 664 <Caret Line="372" Column="1" TopLine="352"/> 619 665 </Position17> 620 666 <Position18> 621 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/>622 <Caret Line="37 09" Column="1" TopLine="3688"/>667 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 668 <Caret Line="373" Column="1" TopLine="352"/> 623 669 </Position18> 624 670 <Position19> 625 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/>626 <Caret Line="37 10" Column="1" TopLine="3689"/>671 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 672 <Caret Line="378" Column="1" TopLine="365"/> 627 673 </Position19> 628 674 <Position20> 629 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/>630 <Caret Line="37 14" Column="1" TopLine="3693"/>675 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 676 <Caret Line="379" Column="1" TopLine="329"/> 631 677 </Position20> 632 678 <Position21> 633 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/>634 <Caret Line=" 3715" Column="1" TopLine="3694"/>679 <Filename Value="..\..\Managers\UCDManagerTabsPopup.pas"/> 680 <Caret Line="266" Column="18" TopLine="256"/> 635 681 </Position21> 636 682 <Position22> 637 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/>638 <Caret Line=" 3718" Column="1" TopLine="3697"/>683 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 684 <Caret Line="271" Column="3" TopLine="266"/> 639 685 </Position22> 640 686 <Position23> 641 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/>642 <Caret Line=" 3721" Column="1" TopLine="3700"/>687 <Filename Value="..\..\Managers\UCDManagerTabsPopup.pas"/> 688 <Caret Line="266" Column="18" TopLine="256"/> 643 689 </Position23> 644 690 <Position24> 645 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/>646 <Caret Line=" 3724" Column="1" TopLine="3703"/>691 <Filename Value="..\..\Managers\UCDManagerTabsPopup.pas"/> 692 <Caret Line="264" Column="1" TopLine="256"/> 647 693 </Position24> 648 694 <Position25> 649 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/>650 <Caret Line=" 3726" Column="1" TopLine="3705"/>695 <Filename Value="..\..\Managers\UCDManagerTabsPopup.pas"/> 696 <Caret Line="266" Column="1" TopLine="256"/> 651 697 </Position25> 652 698 <Position26> 653 <Filename Value="..\..\ Managers\UCDManagerRegions.pas"/>654 <Caret Line=" 292" Column="1" TopLine="271"/>699 <Filename Value="..\..\UCDManager.pas"/> 700 <Caret Line="469" Column="29" TopLine="458"/> 655 701 </Position26> 656 702 <Position27> 657 <Filename Value="..\..\Managers\UCDManager Regions.pas"/>658 <Caret Line=" 293" Column="1" TopLine="272"/>703 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 704 <Caret Line="38" Column="22" TopLine="25"/> 659 705 </Position27> 660 706 <Position28> 661 <Filename Value="..\..\Managers\UCDManager Regions.pas"/>662 <Caret Line=" 69" Column="29" TopLine="50"/>707 <Filename Value="..\..\Managers\UCDManagerTabsPopup.pas"/> 708 <Caret Line="266" Column="12" TopLine="262"/> 663 709 </Position28> 664 710 <Position29> 665 <Filename Value="..\..\ UCDManager.pas"/>666 <Caret Line=" 50" Column="1" TopLine="44"/>711 <Filename Value="..\..\Managers\UCDManagerTabsPopup.pas"/> 712 <Caret Line="264" Column="1" TopLine="259"/> 667 713 </Position29> 668 714 <Position30> 669 <Filename Value="..\..\ UCDManager.pas"/>670 <Caret Line="2 23" Column="16" TopLine="201"/>715 <Filename Value="..\..\Managers\UCDManagerTabsPopup.pas"/> 716 <Caret Line="266" Column="1" TopLine="259"/> 671 717 </Position30> 672 718 </JumpHistory> … … 709 755 </CompilerOptions> 710 756 <Debugging> 711 <BreakPoints Count=" 1">757 <BreakPoints Count="2"> 712 758 <Item1> 713 <Source Value="..\..\ UCDPopupMenu.pas"/>714 <Line Value=" 334"/>759 <Source Value="..\..\Managers\UCDManagerTabs.pas"/> 760 <Line Value="270"/> 715 761 </Item1> 762 <Item2> 763 <Source Value="..\..\Managers\UCDManagerTabsPopup.pas"/> 764 <Line Value="263"/> 765 </Item2> 716 766 </BreakPoints> 717 767 <Watches Count="1"> -
Docking/CoolDocking/Managers/UCDManagerTabs.pas
r205 r208 7 7 uses 8 8 Classes, Controls, ExtCtrls, ComCtrls, SysUtils, Dialogs, Contnrs, 9 Menus, Forms, UCDCommon, UCDManager, 9 Menus, Forms, UCDCommon, UCDManager, UCDConjoinForm, 10 10 LCLType, LMessages, Graphics; 11 11 … … 15 15 16 16 TCDManagerTabsItem = class(TCDManagerItem) 17 Icon : TImage;17 IconImage: TImage; 18 18 constructor Create; override; 19 19 destructor Destroy; override; … … 36 36 procedure UpdateClientSize; override; 37 37 function FindControlInPanels(Control: TControl): TCDManagerItem; override; 38 procedure RemoveControl(Control: TControl); override;39 38 function GetHeaderPos: THeaderPos; override; 40 39 public … … 44 43 procedure SetHeaderPos(const AValue: THeaderPos); override; 45 44 procedure InsertControlNoUpdate(Control: TControl; InsertAt: TAlign); virtual; 46 procedure TabControlChange(Sender: TObject); virtual;45 procedure RemoveControl(Control: TControl); override; 47 46 constructor Create(ADockSite: TWinControl); override; 48 47 destructor Destroy; override; 48 procedure TabControlChange(Sender: TObject); virtual; 49 49 procedure PaintSite(DC: HDC); override; 50 50 procedure DoSetVisible(const AValue: Boolean); override; … … 64 64 constructor TCDManagerTabsItem.Create; 65 65 begin 66 Icon := TImage.Create(nil);66 IconImage := TImage.Create(nil); 67 67 end; 68 68 69 69 destructor TCDManagerTabsItem.Destroy; 70 70 begin 71 Icon .Free;71 IconImage.Free; 72 72 inherited Destroy; 73 73 end; … … 107 107 I: Integer; 108 108 begin 109 UpdateClientSize;109 //UpdateClientSize; 110 110 { // Hide all clients 111 111 for I := 0 to DockItems.Count - 1 do … … 249 249 NewItem := TCDManagerTabsItem.Create; 250 250 with NewItem do begin 251 //Panel.Parent := Self.DockSite;252 251 Manager := Self; 253 //if DockStyle = dsList then Visible := True;254 //Align := alClient;255 //Header.PopupMenu := Self.PopupMenu;256 //PopupMenu.Parent := Self.DockSite;257 252 end; 258 253 if (Control is TForm) and Assigned((Control as TForm).Icon) then 259 NewItem.Icon .Picture.Assign((Control as TForm).Icon);254 NewItem.IconImage.Picture.Assign((Control as TForm).Icon); 260 255 261 256 NewItem.Control := Control; … … 266 261 DockItems.Insert(0, NewItem) 267 262 else DockItems.Add(NewItem); 268 269 end; 270 271 NewTabSheet := TTabSheet.Create(PageControl); 272 NewTabSheet.PageControl := PageControl; 273 NewTabSheet.Caption := Control.Caption; 274 NewTabSheet.ImageIndex := TabImageList.Count; 275 NewTabSheet.TabVisible := Control.Visible; 276 Control.Parent := NewTabSheet; 277 TabImageList.Add(NewItem.Icon.Picture.Bitmap, nil); 278 // if Assigned(NewItem.Splitter) then 279 // NewItem.Splitter.Visible := False; 280 // NewItem.ClientAreaPanel.Visible := False; 281 // NewItem.Visible := False; 282 //NewItem.Parent := NewTabSheet; 263 end; 283 264 end; 284 265 285 266 procedure TCDManagerTabs.RemoveControl(Control: TControl); 286 begin 267 var 268 ManagerItem: TCDManagerItem; 269 ClientCount: Integer; 270 begin 271 ManagerItem := FindControlInPanels(Control); 272 if Assigned(ManagerItem) then begin 273 Control.RemoveHandlerOnVisibleChanged(ManagerItem.VisibleChange); 274 end; 275 276 DockItems.Remove(ManagerItem); 277 ClientCount := DockItems.Count; 278 279 //if TCDManager(Manager).DockSite.DockClientCount = 2 then FDockDirection := ddNone; 280 if ClientCount = 1 then begin 281 // Last removed control => Free parent if it is TCDConjoinForm 282 if Self.DockSite is TCDConjoinForm then 283 with TCDConjoinForm(Self.DockSite) do begin 284 if Assigned(Parent) then begin 285 TCDManagerItem(DockItems[0]).Control.ManualDock(HostDockSite); 286 end else TCDManagerItem(DockItems[0]).Control.ManualFloat(Rect(Left, Top, Left + Width, Top + Height)); 287 ManualFloat(Rect(Left, Top, Left + Width, Top + Height)); 288 Free; 289 end; 290 end; 287 291 inherited RemoveControl(Control); 292 if ClientCount > 1 then UpdateClientSize; 288 293 end; 289 294 … … 328 333 inherited; 329 334 InsertControlNoUpdate(AControl, InsertAt); 330 TabControlChange(Self);335 UpdateClientSize; 331 336 end; 332 337 … … 336 341 NewTabSheet: TTabSheet; 337 342 begin 338 inherited UpdateClientSize;339 343 for I := 0 to DockItems.Count - 1 do 340 344 with TCDManagerTabsItem(DockItems[I]) do begin 345 Control.Visible := False; 346 Control.Parent := nil; 347 end; 348 349 while PageControl.PageList.Count > DockItems.Count do begin 350 PageControl.Pages[PageControl.PageCount - 1].Parent := nil; 351 PageControl.Pages[PageControl.PageCount - 1].Free; 352 TabImageList.Delete(TabImageList.Count - 1); 353 end; 354 while PageControl.PageList.Count < DockItems.Count do begin 355 NewTabSheet := TTabSheet.Create(PageControl); 356 NewTabSheet.PageControl := PageControl; 357 TabImageList.Add(TCDManagerTabsItem(DockItems[PageControl.PageList.Count - 1]).IconImage.Picture.Bitmap, nil); 358 end; 359 360 for I := 0 to DockItems.Count - 1 do 361 with TCDManagerTabsItem(DockItems[I]) do begin 362 PageControl.Pages[I].Caption := Control.Caption; 363 PageControl.Pages[I].ImageIndex := TabImageList.Count; 364 TabImageList.Replace(I, IconImage.Picture.Bitmap, nil); 341 365 Control.Parent := PageControl.Pages[I]; 342 366 Control.Align := alClient; 343 367 Control.Visible := True; 368 PageControl.Pages[I].TabVisible := Control.Visible; 344 369 //TCDClientPanel(DockPanels[I]).ClientAreaPanel.Width := DockSite.Width; 345 370 //TCDClientPanel(DockPanels[I]).ClientAreaPanel.Height := DockSite.Height - PageControl.Height; 346 371 //TCDClientPanel(FDockPanels[I]).DockPanelPaint(Self); 347 372 end; 373 inherited UpdateClientSize; 348 374 end; 349 375 -
Docking/CoolDocking/Managers/UCDManagerTabsPopup.pas
r207 r208 65 65 procedure UpdatePopupFormBounds; 66 66 procedure TabControlChange(Sender: TObject); override; 67 procedure PopupFormMouseLeave(Sender: TObject); 67 68 public 68 69 AutoHideEnabled: Boolean; … … 71 72 HeaderPanel: TCDPanelHeader; 72 73 Splitter: TPanel; 74 procedure RemoveControl(Control: TControl); override; 73 75 procedure SetHeaderPos(const AValue: THeaderPos); override; 74 76 procedure PinShowButtonClick(Sender: TObject); … … 253 255 end; 254 256 257 procedure TCDManagerTabsPopup.PopupFormMouseLeave(Sender: TObject); 258 begin 259 if PopupForm.Visible then AutoHide.Hide; 260 end; 261 262 procedure TCDManagerTabsPopup.RemoveControl(Control: TControl); 263 begin 264 if DockItems.Count <= 2 then 265 PageControl.OnResize := nil; 266 inherited; 267 end; 268 255 269 constructor TCDManagerTabsPopup.Create(ADockSite: TWinControl); 256 270 var … … 263 277 PopupForm.Visible := True; 264 278 PopupForm.BorderStyle := bsNone; 279 PopupForm.OnMouseLeave := PopupFormMouseLeave; 265 280 HeaderPanel := TCDPanelHeader.Create(nil); 266 281 HeaderPanel.Parent := PopupForm; … … 276 291 AutoHide.Control := PopupForm; 277 292 PageControl.OnResize := PageControlResize; 293 HeaderVisible := False; 278 294 279 295 for I := 0 to DockItems.Count - 1 do begin … … 288 304 AutoHide.Free; 289 305 PopupForm.Free; 306 Splitter.Free; 290 307 HeaderPanel.Free; 291 308 inherited Destroy; … … 306 323 NewItem := TCDManagerTabsPopupItem.Create; 307 324 with NewItem do begin 308 //Panel.Parent := Self.DockSite;309 325 Manager := Self; 310 //if DockStyle = dsList then Visible := True;311 //Align := alClient;312 //Header.PopupMenu := Self.PopupMenu;313 //PopupMenu.Parent := Self.DockSite;314 326 end; 315 327 if (Control is TForm) and Assigned((Control as TForm).Icon) then 316 NewItem.Icon .Picture.Assign((Control as TForm).Icon);328 NewItem.IconImage.Picture.Assign((Control as TForm).Icon); 317 329 318 330 NewItem.Control := Control; … … 323 335 DockItems.Insert(0, NewItem) 324 336 else DockItems.Add(NewItem); 325 326 end; 327 328 NewTabSheet := TTabSheet.Create(PageControl); 329 NewTabSheet.PageControl := PageControl; 330 NewTabSheet.Caption := Control.Caption; 331 NewTabSheet.ImageIndex := TabImageList.Count; 332 NewTabSheet.TabVisible := Control.Visible; 333 Control.Parent := NewTabSheet; 334 TabImageList.Add(NewItem.Icon.Picture.Bitmap, nil); 335 // if Assigned(NewItem.Splitter) then 336 // NewItem.Splitter.Visible := False; 337 // NewItem.ClientAreaPanel.Visible := False; 338 // NewItem.Visible := False; 339 //NewItem.Parent := NewTabSheet; 337 end; 340 338 end; 341 339 -
Docking/CoolDocking/UCDLayout.pas
r191 r208 27 27 UndockSize: TPoint; 28 28 DockStyle: TCDStyleType; 29 HeaderPos: THeaderPos; 29 30 Processed: boolean; 30 31 procedure SaveToNode(Node: TDOMNode); … … 286 287 NewNode.TextContent := IntToStr(RestoredRect.Left); 287 288 AppendChild(NewNode); 289 NewNode := OwnerDocument.CreateElement('HeaderPos'); 290 NewNode.TextContent := IntToStr(Integer(HeaderPos)); 291 AppendChild(NewNode); 288 292 end; 289 293 end; … … 349 353 if Assigned(NewNode) then 350 354 RestoredRect.Height := StrToInt(NewNode.TextContent); 355 NewNode := FindNode('HeaderPos'); 356 if Assigned(NewNode) then 357 HeaderPos := THeaderPos(StrToInt(NewNode.TextContent)); 351 358 end; 352 359 end; … … 366 373 Rect.Width := Form.Width; 367 374 Rect.Height := Form.Height; 375 if Assigned(Form.DockManager) then 376 HeaderPos := TCDManager(Form.DockManager).HeaderPos; 368 377 if Form is TForm then 369 378 begin … … 422 431 Form.UndockHeight := UndockSize.Y; 423 432 Form.Visible := Visible; 433 if Assigned(Form.DockManager) then 434 TCDManager(Form.DockManager).HeaderPos := HeaderPos; 424 435 if HostDockSiteName <> '' then 425 436 begin -
Docking/CoolDocking/UCDManager.pas
r207 r208 219 219 end; 220 220 //OnResize := ResizeExecute; 221 //BevelInner := bvNone;222 //BevelOuter := bvNone;221 BevelInner := bvNone; 222 BevelOuter := bvNone; 223 223 HeaderVisible := True; 224 224 end; … … 468 468 469 469 procedure TCDManager.RemoveControl(Control: TControl); 470 //var 471 // ClientPanel: TCDClientPanel; 472 begin 473 //DockStyleHandler.RemoveControl(Control); 474 //inherited; 475 (* if Control.HostDockSite = Self.FDockSite then begin 476 ClientPanel := FindControlInPanels(Control); 477 478 //if Assigned(ClientPanel) then ClientPanel.Splitter.Free; 479 //Control.RemoveHandlerOnVisibleChanged(ClientPanel.VisibleChange); 480 FDockPanels.Remove(ClientPanel); 481 DockStyleHandler.RemoveControl(Control); 482 UpdateClientSize; 483 //FDockSite.Invalidate; 484 //if (FDockSite is TCDConjoinForm) and (FDockSite.DockClientCount = 1) then 485 // FDockSite.Free; 486 DockStyle := DockStyle; 487 end; 488 *) 470 begin 489 471 end; 490 472
Note:
See TracChangeset
for help on using the changeset viewer.