Changeset 243
- Timestamp:
- May 13, 2011, 9:34:51 AM (14 years ago)
- Location:
- Docking/CoolDocking/Demo/Testing
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/Demo/Testing/Demo.lpi
r178 r243 30 30 </local> 31 31 </RunParams> 32 <RequiredPackages Count=" 3">32 <RequiredPackages Count="2"> 33 33 <Item1> 34 <PackageName Value="LCLBase"/> 35 <MinVersion Major="1" Release="1" Valid="True"/> 34 <PackageName Value="CoolDocking"/> 36 35 </Item1> 37 36 <Item2> 38 <PackageName Value=" CoolDocking"/>37 <PackageName Value="LCL"/> 39 38 </Item2> 40 <Item3>41 <PackageName Value="LCL"/>42 </Item3>43 39 </RequiredPackages> 44 <Units Count="8 2">40 <Units Count="85"> 45 41 <Unit0> 46 42 <Filename Value="Demo.lpr"/> … … 59 55 <ResourceBaseClass Value="Form"/> 60 56 <UnitName Value="UMainForm"/> 61 <IsVisibleTab Value="True"/> 62 <EditorIndex Value="5"/> 63 <WindowIndex Value="0"/> 64 <TopLine Value="19"/> 65 <CursorPos X="22" Y="28"/> 57 <EditorIndex Value="3"/> 58 <WindowIndex Value="0"/> 59 <TopLine Value="69"/> 60 <CursorPos X="44" Y="84"/> 66 61 <UsageCount Value="201"/> 67 62 <Loaded Value="True"/> 68 <LoadedDesigner Value="True"/>69 63 <DefaultSyntaxHighlighter Value="Delphi"/> 70 64 </Unit1> … … 135 129 <ResourceBaseClass Value="Form"/> 136 130 <UnitName Value="UDockForm"/> 137 <EditorIndex Value=" 4"/>138 <WindowIndex Value="0"/> 139 <TopLine Value=" 2"/>140 <CursorPos X=" 23" Y="15"/>131 <EditorIndex Value="0"/> 132 <WindowIndex Value="0"/> 133 <TopLine Value="1"/> 134 <CursorPos X="12" Y="9"/> 141 135 <UsageCount Value="200"/> 142 136 <Loaded Value="True"/> … … 338 332 <ResourceBaseClass Value="Form"/> 339 333 <UnitName Value="SampleDockableForm"/> 334 <IsVisibleTab Value="True"/> 335 <EditorIndex Value="2"/> 340 336 <WindowIndex Value="0"/> 341 337 <TopLine Value="1"/> 342 <CursorPos X=" 34" Y="12"/>338 <CursorPos X="22" Y="9"/> 343 339 <UsageCount Value="147"/> 340 <Loaded Value="True"/> 344 341 <DefaultSyntaxHighlighter Value="Delphi"/> 345 342 </Unit31> … … 447 444 <ResourceBaseClass Value="Form"/> 448 445 <UnitName Value="UComponentTree"/> 449 <WindowIndex Value="0"/> 450 <TopLine Value="35"/> 446 <EditorIndex Value="1"/> 447 <WindowIndex Value="0"/> 448 <TopLine Value="1"/> 451 449 <CursorPos X="44" Y="45"/> 452 450 <UsageCount Value="99"/> 451 <Loaded Value="True"/> 453 452 <DefaultSyntaxHighlighter Value="Delphi"/> 454 453 </Unit44> … … 617 616 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\comctrls.pp"/> 618 617 <UnitName Value="ComCtrls"/> 619 <EditorIndex Value="0"/>620 618 <WindowIndex Value="0"/> 621 619 <TopLine Value="289"/> 622 620 <CursorPos X="45" Y="297"/> 623 621 <UsageCount Value="11"/> 624 <Loaded Value="True"/>625 622 </Unit64> 626 623 <Unit65> … … 722 719 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\extctrls.pp"/> 723 720 <UnitName Value="ExtCtrls"/> 724 <EditorIndex Value="2"/>725 721 <WindowIndex Value="0"/> 726 722 <TopLine Value="214"/> 727 723 <CursorPos X="14" Y="227"/> 728 724 <UsageCount Value="11"/> 729 <Loaded Value="True"/>730 725 </Unit78> 731 726 <Unit79> … … 738 733 <Unit80> 739 734 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\customnotebook.inc"/> 740 <EditorIndex Value="3"/>741 735 <WindowIndex Value="0"/> 742 736 <TopLine Value="707"/> 743 737 <CursorPos X="57" Y="710"/> 744 738 <UsageCount Value="11"/> 745 <Loaded Value="True"/>746 739 </Unit80> 747 740 <Unit81> 748 741 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\pagecontrol.inc"/> 749 <EditorIndex Value="1"/>750 742 <WindowIndex Value="0"/> 751 743 <TopLine Value="46"/> 752 744 <CursorPos X="21" Y="48"/> 753 745 <UsageCount Value="10"/> 746 </Unit81> 747 <Unit82> 748 <Filename Value="..\..\UCDConjoinForm.pas"/> 749 <UnitName Value="UCDConjoinForm"/> 750 <EditorIndex Value="5"/> 751 <WindowIndex Value="0"/> 752 <TopLine Value="1"/> 753 <CursorPos X="36" Y="13"/> 754 <UsageCount Value="10"/> 754 755 <Loaded Value="True"/> 755 </Unit81> 756 </Unit82> 757 <Unit83> 758 <Filename Value="..\..\UCDCommon.pas"/> 759 <UnitName Value="UCDCommon"/> 760 <EditorIndex Value="6"/> 761 <WindowIndex Value="0"/> 762 <TopLine Value="1"/> 763 <CursorPos X="3" Y="11"/> 764 <UsageCount Value="10"/> 765 <Loaded Value="True"/> 766 </Unit83> 767 <Unit84> 768 <Filename Value="..\..\UCDManager.pas"/> 769 <UnitName Value="UCDManager"/> 770 <EditorIndex Value="4"/> 771 <WindowIndex Value="0"/> 772 <TopLine Value="1"/> 773 <CursorPos X="34" Y="1"/> 774 <UsageCount Value="10"/> 775 <Loaded Value="True"/> 776 </Unit84> 756 777 </Units> 757 <JumpHistory Count=" 3" HistoryIndex="2">778 <JumpHistory Count="19" HistoryIndex="18"> 758 779 <Position1> 759 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\comctrls.pp"/>760 <Caret Line=" 329" Column="57" TopLine="316"/>780 <Filename Value="UMainForm.pas"/> 781 <Caret Line="28" Column="22" TopLine="1"/> 761 782 </Position1> 762 783 <Position2> 763 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\comctrls.pp"/>764 <Caret Line=" 331" Column="22" TopLine="316"/>784 <Filename Value="UMainForm.pas"/> 785 <Caret Line="9" Column="54" TopLine="1"/> 765 786 </Position2> 766 787 <Position3> 767 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\comctrls.pp"/>768 <Caret Line=" 298" Column="59" TopLine="289"/>788 <Filename Value="UDockForm.pas"/> 789 <Caret Line="16" Column="24" TopLine="2"/> 769 790 </Position3> 791 <Position4> 792 <Filename Value="UMainForm.pas"/> 793 <Caret Line="9" Column="74" TopLine="6"/> 794 </Position4> 795 <Position5> 796 <Filename Value="UMainForm.pas"/> 797 <Caret Line="10" Column="43" TopLine="1"/> 798 </Position5> 799 <Position6> 800 <Filename Value="UMainForm.pas"/> 801 <Caret Line="72" Column="26" TopLine="58"/> 802 </Position6> 803 <Position7> 804 <Filename Value="UMainForm.pas"/> 805 <Caret Line="121" Column="32" TopLine="108"/> 806 </Position7> 807 <Position8> 808 <Filename Value="UMainForm.pas"/> 809 <Caret Line="10" Column="59" TopLine="1"/> 810 </Position8> 811 <Position9> 812 <Filename Value="UMainForm.pas"/> 813 <Caret Line="76" Column="27" TopLine="63"/> 814 </Position9> 815 <Position10> 816 <Filename Value="UMainForm.pas"/> 817 <Caret Line="10" Column="71" TopLine="1"/> 818 </Position10> 819 <Position11> 820 <Filename Value="UMainForm.pas"/> 821 <Caret Line="76" Column="73" TopLine="63"/> 822 </Position11> 823 <Position12> 824 <Filename Value="UMainForm.pas"/> 825 <Caret Line="80" Column="30" TopLine="67"/> 826 </Position12> 827 <Position13> 828 <Filename Value="UMainForm.pas"/> 829 <Caret Line="71" Column="28" TopLine="58"/> 830 </Position13> 831 <Position14> 832 <Filename Value="..\..\UCDConjoinForm.pas"/> 833 <Caret Line="13" Column="36" TopLine="1"/> 834 </Position14> 835 <Position15> 836 <Filename Value="UMainForm.pas"/> 837 <Caret Line="71" Column="28" TopLine="58"/> 838 </Position15> 839 <Position16> 840 <Filename Value="UMainForm.pas"/> 841 <Caret Line="80" Column="53" TopLine="67"/> 842 </Position16> 843 <Position17> 844 <Filename Value="..\..\UCDManager.pas"/> 845 <Caret Line="140" Column="34" TopLine="127"/> 846 </Position17> 847 <Position18> 848 <Filename Value="UMainForm.pas"/> 849 <Caret Line="11" Column="12" TopLine="1"/> 850 </Position18> 851 <Position19> 852 <Filename Value="SampleDockableForm.pas"/> 853 <Caret Line="16" Column="24" TopLine="1"/> 854 </Position19> 770 855 </JumpHistory> 771 856 </ProjectOptions> 772 857 <CompilerOptions> 773 <Version Value=" 10"/>858 <Version Value="9"/> 774 859 <PathDelim Value="\"/> 775 860 <Target> -
Docking/CoolDocking/Demo/Testing/SampleDockableForm.lfm
r177 r243 22 22 TabOrder = 0 23 23 end 24 object CoolDockClient1: TC oolDockClient24 object CoolDockClient1: TCDClient 25 25 Floatable = False 26 26 Master = MainForm.CoolDockMaster1 -
Docking/CoolDocking/Demo/Testing/SampleDockableForm.pas
r177 r243 7 7 uses 8 8 Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs, 9 StdCtrls, UC oolDocking;9 StdCtrls, UCDClient; 10 10 11 11 type … … 14 14 15 15 TDockableForm = class(TForm) 16 CoolDockClient1: TC oolDockClient;16 CoolDockClient1: TCDClient; 17 17 ImageList1: TImageList; 18 18 Memo1: TMemo; -
Docking/CoolDocking/Demo/Testing/UDockForm.lfm
r177 r243 17 17 TabOrder = 0 18 18 end 19 object CoolDockClient1: TC oolDockClient19 object CoolDockClient1: TCDClient 20 20 Floatable = False 21 21 Master = MainForm.CoolDockMaster1 -
Docking/CoolDocking/Demo/Testing/UDockForm.pas
r177 r243 7 7 uses 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, 9 UC oolDocking;9 UCDClient; 10 10 11 11 type … … 14 14 15 15 TDockForm = class(TForm) 16 CoolDockClient1: TC oolDockClient;16 CoolDockClient1: TCDClient; 17 17 Memo1: TMemo; 18 18 procedure FormDestroy(Sender: TObject); -
Docking/CoolDocking/Demo/Testing/UMainForm.lfm
r177 r243 85 85 TabOrder = 2 86 86 end 87 object CoolDockMaster1: TC oolDockMaster87 object CoolDockMaster1: TCDMaster 88 88 TabsEnabled = False 89 89 DefaultTabsPos = hpAuto … … 94 94 left = 384 95 95 end 96 object CoolDockCustomize1: TC oolDockCustomize96 object CoolDockCustomize1: TCDCustomize 97 97 Master = CoolDockMaster1 98 98 left = 472 99 99 end 100 object CoolDockWindowList1: TC oolDockWindowList100 object CoolDockWindowList1: TCDWindowList 101 101 left = 472 102 102 top = 64 … … 119 119 end 120 120 end 121 object CoolDockClient1: TC oolDockClient121 object CoolDockClient1: TCDClient 122 122 Dockable = False 123 123 Floatable = False -
Docking/CoolDocking/Demo/Testing/UMainForm.pas
r177 r243 7 7 uses 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, 9 ComCtrls, ExtCtrls, Buttons, Menus, UCoolDocking, UCoolDockCustomize, 10 UDockForm, UComponentTree; 9 ComCtrls, ExtCtrls, Buttons, Menus, UCDMaster, UCDCustomize, UCDClient, 10 UDockForm, UComponentTree, UCDWindowList, UCDConjoinForm, UCDManager, 11 UCDCommon; 11 12 12 13 type … … 17 18 Button1: TButton; 18 19 Button2: TButton; 19 CoolDockClient1: TC oolDockClient;20 CoolDockCustomize1: TC oolDockCustomize;21 CoolDockMaster1: TC oolDockMaster;22 CoolDockWindowList1: TC oolDockWindowList;20 CoolDockClient1: TCDClient; 21 CoolDockCustomize1: TCDCustomize; 22 CoolDockMaster1: TCDMaster; 23 CoolDockWindowList1: TCDWindowList; 23 24 MainMenu1: TMainMenu; 24 25 MenuItem1: TMenuItem; … … 69 70 procedure TMainForm.FormShow(Sender: TObject); 70 71 var 71 ConjoinedDockForm1: TC oolDockConjoinForm;72 ConjoinedDockForm2: TC oolDockConjoinForm;72 ConjoinedDockForm1: TCDConjoinForm; 73 ConjoinedDockForm2: TCDConjoinForm; 73 74 begin 74 75 NewDockForm.ManualDock(Panel1); 75 76 NewDockForm.ManualDock(Panel1); 76 ConjoinedDockForm1 := TC oolDockManager(Panel1.DockManager).CreateContainer(alRight);77 ConjoinedDockForm1 := TCDManager(Panel1.DockManager).CreateConjoinForm; 77 78 ConjoinedDockForm1.Name := 'Model';; 78 79 //TCoolDockManager(ConjoinedDockForm1.Panel.DockManager).TabsPos := hpLeft; 79 80 ConjoinedDockForm1.ManualDock(Panel1); 80 TC oolDockManager(ConjoinedDockForm1.Panel.DockManager).DockStyle := dsTabs;81 NewDockForm.ManualDock(ConjoinedDockForm1 .Panel);82 NewDockForm.ManualDock(ConjoinedDockForm1 .Panel);83 NewDockForm.ManualDock(ConjoinedDockForm1 .Panel);81 TCDManager(ConjoinedDockForm1.DockManager).DockStyle := dsTabs; 82 NewDockForm.ManualDock(ConjoinedDockForm1); 83 NewDockForm.ManualDock(ConjoinedDockForm1); 84 NewDockForm.ManualDock(ConjoinedDockForm1); 84 85 //NewDockForm.ManualDock(TForm(DockForms[0])); 85 86 //NewDockForm.ManualDock(TForm(DockForms[0]));
Note:
See TracChangeset
for help on using the changeset viewer.