Changeset 193 for Docking/CoolDocking/UCDManager.pas
- Timestamp:
- Mar 11, 2011, 10:57:39 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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;
Note:
See TracChangeset
for help on using the changeset viewer.