- Timestamp:
- Mar 11, 2011, 10:57:39 AM (14 years ago)
- Location:
- Docking/CoolDocking
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/CoolDocking.lpk
r192 r193 9 9 <PathDelim Value="\"/> 10 10 <SearchPaths> 11 <OtherUnitFiles Value="Managers"/> 11 12 <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/> 12 13 </SearchPaths> -
Docking/CoolDocking/Demo/IDE/IDE.lpi
r192 r193 204 204 <EditorIndex Value="0"/> 205 205 <WindowIndex Value="0"/> 206 <TopLine Value=" 1"/>207 <CursorPos X="1" Y=" 1"/>206 <TopLine Value="81"/> 207 <CursorPos X="1" Y="97"/> 208 208 <UsageCount Value="64"/> 209 209 <Loaded Value="True"/> … … 316 316 <TopLine Value="5393"/> 317 317 <CursorPos X="35" Y="5402"/> 318 <UsageCount Value=" 30"/>318 <UsageCount Value="29"/> 319 319 </Unit29> 320 320 <Unit30> … … 339 339 <Filename Value="..\..\UCDCommon.pas"/> 340 340 <UnitName Value="UCDCommon"/> 341 <WindowIndex Value="0"/> 342 <TopLine Value="188"/> 343 <CursorPos X="9" Y="212"/> 341 <EditorIndex Value="8"/> 342 <WindowIndex Value="0"/> 343 <TopLine Value="1"/> 344 <CursorPos X="1" Y="1"/> 344 345 <UsageCount Value="55"/> 346 <Loaded Value="True"/> 345 347 </Unit32> 346 348 <Unit33> 347 349 <Filename Value="..\..\UCDPopupMenu.pas"/> 348 350 <UnitName Value="UCDPopupMenu"/> 349 <IsVisibleTab Value="True"/> 350 <EditorIndex Value="2"/> 351 <EditorIndex Value="3"/> 351 352 <WindowIndex Value="0"/> 352 353 <TopLine Value="31"/> … … 410 411 <Filename Value="..\..\UCDClientPanel.pas"/> 411 412 <UnitName Value="UCDClientPanel"/> 412 <WindowIndex Value="0"/> 413 <TopLine Value="3"/> 414 <CursorPos X="15" Y="102"/> 413 <EditorIndex Value="4"/> 414 <WindowIndex Value="0"/> 415 <TopLine Value="75"/> 416 <CursorPos X="54" Y="81"/> 415 417 <UsageCount Value="38"/> 418 <Loaded Value="True"/> 416 419 </Unit41> 417 420 <Unit42> … … 426 429 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 427 430 <UnitName Value="UCDManagerTabs"/> 428 <EditorIndex Value=" 6"/>429 <WindowIndex Value="0"/> 430 <TopLine Value=" 133"/>431 <CursorPos X=" 40" Y="145"/>431 <EditorIndex Value="9"/> 432 <WindowIndex Value="0"/> 433 <TopLine Value="262"/> 434 <CursorPos X="13" Y="264"/> 432 435 <UsageCount Value="37"/> 433 436 <Loaded Value="True"/> … … 459 462 <Filename Value="..\..\Managers\UCDManagerRegions.pas"/> 460 463 <UnitName Value="UCDManagerRegions"/> 461 <EditorIndex Value=" 4"/>462 <WindowIndex Value="0"/> 463 <TopLine Value="1 30"/>464 <CursorPos X="1 " Y="140"/>464 <EditorIndex Value="6"/> 465 <WindowIndex Value="0"/> 466 <TopLine Value="17"/> 467 <CursorPos X="15" Y="30"/> 465 468 <UsageCount Value="36"/> 466 469 <Loaded Value="True"/> … … 469 472 <Filename Value="..\..\Managers\UCDManagerTabsPopup.pas"/> 470 473 <UnitName Value="UCDManagerTabsPopup"/> 471 <EditorIndex Value=" 1"/>472 <WindowIndex Value="0"/> 473 <TopLine Value=" 52"/>474 <CursorPos X="4 6" Y="52"/>474 <EditorIndex Value="2"/> 475 <WindowIndex Value="0"/> 476 <TopLine Value="176"/> 477 <CursorPos X="4" Y="189"/> 475 478 <UsageCount Value="27"/> 476 479 <Loaded Value="True"/> … … 527 530 <Filename Value="..\..\Managers\UCDManagerRegionsPopup.pas"/> 528 531 <UnitName Value="UCDManagerRegionsPopup"/> 529 <EditorIndex Value=" 3"/>530 <WindowIndex Value="0"/> 531 <TopLine Value=" 1"/>532 <CursorPos X=" 39" Y="8"/>532 <EditorIndex Value="5"/> 533 <WindowIndex Value="0"/> 534 <TopLine Value="8"/> 535 <CursorPos X="4" Y="29"/> 533 536 <UsageCount Value="11"/> 534 537 <Loaded Value="True"/> … … 545 548 <Filename Value="..\..\UCDManager.pas"/> 546 549 <UnitName Value="UCDManager"/> 547 <EditorIndex Value="5"/> 548 <WindowIndex Value="0"/> 549 <TopLine Value="56"/> 550 <CursorPos X="44" Y="69"/> 550 <IsVisibleTab Value="True"/> 551 <EditorIndex Value="7"/> 552 <WindowIndex Value="0"/> 553 <TopLine Value="167"/> 554 <CursorPos X="1" Y="180"/> 551 555 <UsageCount Value="12"/> 552 556 <Loaded Value="True"/> … … 555 559 <Filename Value="..\..\UCDConjoinForm.pas"/> 556 560 <UnitName Value="UCDConjoinForm"/> 557 <WindowIndex Value="0"/> 558 <TopLine Value="49"/> 559 <CursorPos X="1" Y="54"/> 561 <EditorIndex Value="1"/> 562 <WindowIndex Value="0"/> 563 <TopLine Value="32"/> 564 <CursorPos X="30" Y="34"/> 560 565 <UsageCount Value="11"/> 566 <Loaded Value="True"/> 561 567 </Unit58> 562 568 <Unit59> … … 593 599 </Unit62> 594 600 </Units> 595 <JumpHistory Count=" 9" HistoryIndex="8">601 <JumpHistory Count="30" HistoryIndex="29"> 596 602 <Position1> 597 603 <Filename Value="..\..\UCDManager.pas"/> 598 <Caret Line=" 318" Column="17" TopLine="312"/>604 <Caret Line="115" Column="1" TopLine="102"/> 599 605 </Position1> 600 606 <Position2> 601 607 <Filename Value="..\..\UCDManager.pas"/> 602 <Caret Line="1 30" Column="11" TopLine="120"/>608 <Caret Line="124" Column="1" TopLine="103"/> 603 609 </Position2> 604 610 <Position3> 605 611 <Filename Value="..\..\UCDManager.pas"/> 606 <Caret Line="1 00" Column="1" TopLine="100"/>612 <Caret Line="116" Column="1" TopLine="103"/> 607 613 </Position3> 608 614 <Position4> 609 615 <Filename Value="..\..\UCDManager.pas"/> 610 <Caret Line=" 28" Column="1" TopLine="15"/>616 <Caret Line="118" Column="1" TopLine="103"/> 611 617 </Position4> 612 618 <Position5> 613 <Filename Value="..\..\UCD Client.pas"/>614 <Caret Line=" 80" Column="29" TopLine="74"/>619 <Filename Value="..\..\UCDManager.pas"/> 620 <Caret Line="119" Column="1" TopLine="103"/> 615 621 </Position5> 616 622 <Position6> 617 <Filename Value="..\..\UCD Client.pas"/>618 <Caret Line="1 3" Column="14" TopLine="1"/>623 <Filename Value="..\..\UCDManager.pas"/> 624 <Caret Line="121" Column="1" TopLine="103"/> 619 625 </Position6> 620 626 <Position7> 621 <Filename Value="..\..\UCD Client.pas"/>622 <Caret Line="1 " Column="1" TopLine="1"/>627 <Filename Value="..\..\UCDManager.pas"/> 628 <Caret Line="122" Column="1" TopLine="103"/> 623 629 </Position7> 624 630 <Position8> 625 <Filename Value="..\..\UCD PopupMenu.pas"/>626 <Caret Line=" 250" Column="25" TopLine="237"/>631 <Filename Value="..\..\UCDManager.pas"/> 632 <Caret Line="123" Column="1" TopLine="103"/> 627 633 </Position8> 628 634 <Position9> 629 <Filename Value="..\..\UCD PopupMenu.pas"/>630 <Caret Line="1 " Column="1" TopLine="1"/>635 <Filename Value="..\..\UCDManager.pas"/> 636 <Caret Line="124" Column="1" TopLine="103"/> 631 637 </Position9> 638 <Position10> 639 <Filename Value="..\..\Managers\UCDManagerRegions.pas"/> 640 <Caret Line="141" Column="1" TopLine="128"/> 641 </Position10> 642 <Position11> 643 <Filename Value="..\..\Managers\UCDManagerRegions.pas"/> 644 <Caret Line="144" Column="1" TopLine="128"/> 645 </Position11> 646 <Position12> 647 <Filename Value="..\..\Managers\UCDManagerRegions.pas"/> 648 <Caret Line="152" Column="1" TopLine="131"/> 649 </Position12> 650 <Position13> 651 <Filename Value="..\..\UCDClient.pas"/> 652 <Caret Line="97" Column="1" TopLine="81"/> 653 </Position13> 654 <Position14> 655 <Filename Value="..\..\UCDConjoinForm.pas"/> 656 <Caret Line="55" Column="1" TopLine="49"/> 657 </Position14> 658 <Position15> 659 <Filename Value="..\..\UCDConjoinForm.pas"/> 660 <Caret Line="57" Column="1" TopLine="49"/> 661 </Position15> 662 <Position16> 663 <Filename Value="..\..\UCDConjoinForm.pas"/> 664 <Caret Line="58" Column="1" TopLine="49"/> 665 </Position16> 666 <Position17> 667 <Filename Value="..\..\UCDConjoinForm.pas"/> 668 <Caret Line="59" Column="1" TopLine="49"/> 669 </Position17> 670 <Position18> 671 <Filename Value="..\..\UCDManager.pas"/> 672 <Caret Line="299" Column="1" TopLine="286"/> 673 </Position18> 674 <Position19> 675 <Filename Value="..\..\UCDManager.pas"/> 676 <Caret Line="300" Column="15" TopLine="286"/> 677 </Position19> 678 <Position20> 679 <Filename Value="..\..\UCDManager.pas"/> 680 <Caret Line="296" Column="30" TopLine="283"/> 681 </Position20> 682 <Position21> 683 <Filename Value="..\..\UCDConjoinForm.pas"/> 684 <Caret Line="34" Column="30" TopLine="32"/> 685 </Position21> 686 <Position22> 687 <Filename Value="..\..\UCDManager.pas"/> 688 <Caret Line="73" Column="43" TopLine="60"/> 689 </Position22> 690 <Position23> 691 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 692 <Caret Line="15" Column="33" TopLine="11"/> 693 </Position23> 694 <Position24> 695 <Filename Value="..\..\UCDManager.pas"/> 696 <Caret Line="44" Column="15" TopLine="31"/> 697 </Position24> 698 <Position25> 699 <Filename Value="..\..\UCDManager.pas"/> 700 <Caret Line="166" Column="3" TopLine="164"/> 701 </Position25> 702 <Position26> 703 <Filename Value="..\..\UCDManager.pas"/> 704 <Caret Line="116" Column="1" TopLine="103"/> 705 </Position26> 706 <Position27> 707 <Filename Value="..\..\UCDManager.pas"/> 708 <Caret Line="180" Column="1" TopLine="167"/> 709 </Position27> 710 <Position28> 711 <Filename Value="..\..\UCDManager.pas"/> 712 <Caret Line="181" Column="1" TopLine="167"/> 713 </Position28> 714 <Position29> 715 <Filename Value="..\..\UCDManager.pas"/> 716 <Caret Line="183" Column="1" TopLine="167"/> 717 </Position29> 718 <Position30> 719 <Filename Value="..\..\UCDManager.pas"/> 720 <Caret Line="184" Column="1" TopLine="167"/> 721 </Position30> 632 722 </JumpHistory> 633 723 </ProjectOptions> … … 657 747 <Item1> 658 748 <Source Value="..\..\UCDManager.pas"/> 659 <Line Value="31 3"/>749 <Line Value="319"/> 660 750 </Item1> 661 751 </BreakPoints> -
Docking/CoolDocking/Managers/UCDManagerRegions.pas
r192 r193 14 14 end; 15 15 16 { TCD StyleRegions }17 18 TCD StyleRegions = class(TCDManager)16 { TCDManagerRegions } 17 18 TCDManagerRegions = class(TCDManager) 19 19 private 20 20 function GetDirection(InsertAt: TAlign): TCDDirection; … … 28 28 destructor Destroy; override; 29 29 procedure UpdateClientSize; override; 30 procedure DoSetVisible(const AValue: Boolean); 30 procedure DoSetVisible(const AValue: Boolean); override; 31 31 procedure ChangeVisible(Control: TWinControl; Visible: Boolean); 32 32 property DockDirection: TCDDirection read FDockDirection … … 40 40 41 41 42 { TCD StyleRegions }43 44 function TCD StyleRegions.GetDirection(InsertAt: TAlign): TCDDirection;42 { TCDManagerRegions } 43 44 function TCDManagerRegions.GetDirection(InsertAt: TAlign): TCDDirection; 45 45 begin 46 46 Result := ddHorizontal; … … 53 53 end; 54 54 55 procedure TCD StyleRegions.InsertControlPanel(Control: TControl; InsertAt: TAlign;55 procedure TCDManagerRegions.InsertControlPanel(Control: TControl; InsertAt: TAlign; 56 56 DropCtl: TControl); 57 57 var … … 107 107 end; 108 108 109 procedure TCD StyleRegions.RemoveControl(Control: TControl);109 procedure TCDManagerRegions.RemoveControl(Control: TControl); 110 110 var 111 111 ClientPanel: TCDClientPanel; … … 134 134 end; 135 135 136 constructor TCDStyleRegions.Create(ADockSite: TWinControl); 137 var 138 I: Integer; 139 begin 140 inherited; 136 constructor TCDManagerRegions.Create(ADockSite: TWinControl); 137 var 138 I: Integer; 139 begin 140 inherited; 141 FDockStyle := dsList; 141 142 //Panels := TObjectList.Create; 142 143 … … 151 152 end; 152 153 153 destructor TCD StyleRegions.Destroy;154 destructor TCDManagerRegions.Destroy; 154 155 begin 155 156 //Panels.Free; … … 157 158 end; 158 159 159 procedure TCD StyleRegions.UpdateClientSize;160 procedure TCDManagerRegions.UpdateClientSize; 160 161 var 161 162 I: Integer; … … 200 201 end; 201 202 202 procedure TCD StyleRegions.DoSetVisible(const AValue: Boolean);203 var 204 I: Integer; 205 begin 206 // inherited SetVisible(AValue);203 procedure TCDManagerRegions.DoSetVisible(const AValue: Boolean); 204 var 205 I: Integer; 206 begin 207 inherited; 207 208 for I := 0 to DockPanels.Count - 1 do 208 209 … … 222 223 end; 223 224 224 procedure TCD StyleRegions.ChangeVisible(Control: TWinControl;225 procedure TCDManagerRegions.ChangeVisible(Control: TWinControl; 225 226 Visible: Boolean); 226 227 begin -
Docking/CoolDocking/Managers/UCDManagerRegionsPopup.pas
r192 r193 6 6 7 7 uses 8 Classes, SysUtils, UCDManagerRegions ;8 Classes, SysUtils, UCDManagerRegions, UCDCommon, Controls; 9 9 10 10 type 11 TCDStylePopupRegions = class(TCDStyleRegions)12 11 12 { TCDStylePopupRegions } 13 14 TCDStylePopupRegions = class(TCDManagerRegions) 15 constructor Create(ADockSite: TWinControl); 13 16 end; 14 17 … … 19 22 UCDClient; 20 23 24 { TCDStylePopupRegions } 25 26 constructor TCDStylePopupRegions.Create(ADockSite: TWinControl); 27 begin 28 inherited; 29 FDockStyle := dsPopupList; 30 end; 31 21 32 end. 22 33 -
Docking/CoolDocking/Managers/UCDManagerTabs.pas
r192 r193 11 11 type 12 12 13 { TCD StyleTabs }14 15 TCD StyleTabs = class(TCDManager)13 { TCDManagerTabs } 14 15 TCDManagerTabs = class(TCDManager) 16 16 public 17 17 MouseDown: Boolean; … … 35 35 public 36 36 constructor Create(ADockSite: TWinControl); 37 procedure DoSetVisible(const AValue: Boolean); 37 procedure DoSetVisible(const AValue: Boolean); override; 38 38 destructor Destroy; override; 39 39 procedure ChangeVisible(Control: TWinControl; Visible: Boolean); override; … … 49 49 UCDClient; 50 50 51 { TCD StyleTabs }52 53 procedure TCD StyleTabs.PopupMenuTabCloseClick(Sender: TObject);51 { TCDManagerTabs } 52 53 procedure TCDManagerTabs.PopupMenuTabCloseClick(Sender: TObject); 54 54 begin 55 55 if Assigned(PageControl.ActivePage) then … … 57 57 end; 58 58 59 procedure TCD StyleTabs.TabControlMouseLeave(Sender: TObject);59 procedure TCDManagerTabs.TabControlMouseLeave(Sender: TObject); 60 60 begin 61 61 if MouseDown then … … 67 67 end; 68 68 69 procedure TCD StyleTabs.TabControlChange(Sender: TObject);69 procedure TCDManagerTabs.TabControlChange(Sender: TObject); 70 70 var 71 71 I: Integer; … … 120 120 end; 121 121 122 procedure TCD StyleTabs.TabControlMouseDown(Sender: TObject;122 procedure TCDManagerTabs.TabControlMouseDown(Sender: TObject; 123 123 Button: TMouseButton; Shift: TShiftState; X, Y: Integer); 124 124 begin … … 130 130 end; 131 131 132 procedure TCD StyleTabs.TabControlMouseUp(Sender: TObject;132 procedure TCDManagerTabs.TabControlMouseUp(Sender: TObject; 133 133 Button: TMouseButton; Shift: TShiftState; X, Y: Integer); 134 134 begin … … 136 136 end; 137 137 138 constructor TCD StyleTabs.Create(ADockSite: TWinControl);138 constructor TCDManagerTabs.Create(ADockSite: TWinControl); 139 139 var 140 140 NewMenuItem: TMenuItem; … … 144 144 begin 145 145 inherited; 146 FDockStyle := dsTabs; 146 147 TabImageList := TImageList.Create(ADockSite); //FDockSite); 147 148 with TabImageList do begin … … 177 178 end; 178 179 179 destructor TCD StyleTabs.Destroy;180 destructor TCDManagerTabs.Destroy; 180 181 begin 181 182 PageControl.Free; … … 184 185 end; 185 186 186 procedure TCD StyleTabs.Switch(Index: Integer);187 procedure TCDManagerTabs.Switch(Index: Integer); 187 188 begin 188 189 PageControl.TabIndex := Index; 189 190 end; 190 191 191 procedure TCD StyleTabs.InsertControlNoUpdate(AControl: TControl; InsertAt: TAlign);192 procedure TCDManagerTabs.InsertControlNoUpdate(AControl: TControl; InsertAt: TAlign); 192 193 var 193 194 NewTabSheet: TTabSheet; … … 232 233 end; 233 234 234 procedure TCD StyleTabs.RemoveControl(Control: TControl);235 procedure TCDManagerTabs.RemoveControl(Control: TControl); 235 236 begin 236 237 inherited RemoveControl(Control); 237 238 end; 238 239 239 procedure TCD StyleTabs.InsertControlPanel(AControl: TControl; InsertAt: TAlign;240 procedure TCDManagerTabs.InsertControlPanel(AControl: TControl; InsertAt: TAlign; 240 241 DropCtl: TControl); 241 242 var … … 247 248 end; 248 249 249 procedure TCD StyleTabs.UpdateClientSize;250 procedure TCDManagerTabs.UpdateClientSize; 250 251 var 251 252 I: Integer; … … 259 260 end; 260 261 261 procedure TCDStyleTabs.DoSetVisible(const AValue: Boolean); 262 begin 262 procedure TCDManagerTabs.DoSetVisible(const AValue: Boolean); 263 begin 264 inherited; 263 265 if (PageControl.TabIndex >= 0) and (PageControl.TabIndex < DockPanels.Count) then 264 266 with TCDClientPanel(DockPanels[PageControl.TabIndex]) do begin … … 274 276 end; 275 277 276 procedure TCD StyleTabs.ChangeVisible(Control: TWinControl; Visible: Boolean);278 procedure TCDManagerTabs.ChangeVisible(Control: TWinControl; Visible: Boolean); 277 279 var 278 280 I: Integer; … … 318 320 end; 319 321 320 procedure TCD StyleTabs.SetTabsPos(const AValue: THeaderPos);322 procedure TCDManagerTabs.SetTabsPos(const AValue: THeaderPos); 321 323 begin 322 324 if FTabsPos = AValue then Exit; -
Docking/CoolDocking/Managers/UCDManagerTabsPopup.pas
r192 r193 40 40 { TCDStylePopupTabs } 41 41 42 TCDStylePopupTabs = class(TCD StyleTabs)42 TCDStylePopupTabs = class(TCDManagerTabs) 43 43 TabControl: TTabControl; 44 44 TabImageList: TImageList; … … 123 123 constructor TCDAutoHide.Create; 124 124 begin 125 inherited; 125 126 Timer := TTimer.Create(nil); 126 127 Timer.Enabled := False; … … 186 187 begin 187 188 inherited; 189 FDockStyle := dsPopupTabs; 188 190 189 191 AutoHide := TCDAutoHide.Create; -
Docking/CoolDocking/UCDClient.pas
r192 r193 11 11 Buttons, ExtCtrls, Contnrs, Forms, ComCtrls, Dialogs, Menus, FileUtil, 12 12 UCDCustomize, DOM, XMLWrite, XMLRead, UCDCommon, 13 DateUtils, UCDManagerTabs, UCDManagerRegions, UCDManagerTabsPopup, 14 UCDManagerRegionsPopup, UCDClientPanel, 15 UCDPopupMenu, UCDManager; 13 DateUtils, UCDClientPanel, UCDPopupMenu, UCDManager; 16 14 17 15 const … … 43 41 44 42 implementation 43 44 uses 45 UCDManagerRegions; 45 46 46 47 procedure Register; … … 91 92 end; 92 93 UseDockManager := True; 93 DockManager := TCDManager .Create(TWinControl(AOwner));94 DockManager := TCDManagerRegions.Create(TWinControl(AOwner)); 94 95 end; 95 96 end; -
Docking/CoolDocking/UCDManager.pas
r192 r193 22 22 TCDManager = class(TCDManagerBase) 23 23 private 24 FDockStyle: TCDStyleType;25 24 FDockSite: TWinControl; 26 25 FDockPanels: TCDPanels; … … 33 32 procedure SetVisible(const AValue: Boolean); 34 33 public 34 FDockStyle: TCDStyleType; 35 35 PopupMenu: TCDPopupMenu; 36 36 constructor Create(ADockSite: TWinControl); override; … … 42 42 procedure InsertControlPanel(Control: TControl; InsertAt: TAlign; 43 43 DropCtl: TControl); virtual; 44 procedure DoSetVisible(const AValue: Boolean); virtual; 44 45 45 46 // Inherited from TDockManager … … 161 162 end; 162 163 164 procedure TCDManager.DoSetVisible(const AValue: Boolean); 165 begin 166 167 end; 168 163 169 procedure TCDManager.InsertControl(Control: TControl; InsertAt: TAlign; 164 170 DropCtl: TControl); … … 315 321 FDockStyle := AValue; 316 322 if AValue = dsTabs then begin 317 NewManager := TCD StyleTabs.Create(FDockSite);318 TCD StyleTabs(Self).TabControlChange(Self);323 NewManager := TCDManagerTabs.Create(FDockSite); 324 TCDManagerTabs(Self).TabControlChange(Self); 319 325 end else 320 326 if AValue = dsList then begin 321 NewManager := TCD StyleRegions.Create(FDockSite);327 NewManager := TCDManagerRegions.Create(FDockSite); 322 328 end else 323 329 if AValue = dsPopupList then begin … … 347 353 I: Integer; 348 354 begin 349 Visible := AValue; 355 DoSetVisible(AValue); 356 //Visible := AValue; 350 357 // for I := 0 to DockPanels.Count - 1 do 351 358 // TCDClientPanel(DockPanels[I]).Visible := AValue; -
Docking/CoolDocking/UCDPopupMenu.pas
r192 r193 200 200 if PopupComponent is TPageControl then 201 201 with TPageControl(PopupComponent) do begin 202 TCD StyleTabs(Manager).TabsPos := hpAuto;202 TCDManagerTabs(Manager).TabsPos := hpAuto; 203 203 end else 204 204 if PopupComponent is TCDHeader then … … 212 212 if PopupComponent is TPageControl then 213 213 with TPageControl(PopupComponent) do begin 214 TCD StyleTabs(Manager).TabsPos := hpLeft;214 TCDManagerTabs(Manager).TabsPos := hpLeft; 215 215 end else 216 216 if PopupComponent is TCDHeader then … … 224 224 if PopupComponent is TPageControl then 225 225 with TPageControl(PopupComponent) do begin 226 TCD StyleTabs(Manager).TabsPos := hpRight;226 TCDManagerTabs(Manager).TabsPos := hpRight; 227 227 end else 228 228 if PopupComponent is TCDHeader then … … 236 236 if PopupComponent is TPageControl then 237 237 with TPageControl(PopupComponent) do begin 238 TCD StyleTabs(Manager).TabsPos := hpTop;238 TCDManagerTabs(Manager).TabsPos := hpTop; 239 239 end else 240 240 if PopupComponent is TCDHeader then … … 248 248 if PopupComponent is TPageControl then 249 249 with TPageControl(PopupComponent) do begin 250 TCD StyleTabs(Manager).TabsPos := hpBottom;250 TCDManagerTabs(Manager).TabsPos := hpBottom; 251 251 end else 252 252 if PopupComponent is TCDHeader then
Note:
See TracChangeset
for help on using the changeset viewer.