Ignore:
Timestamp:
Mar 18, 2011, 1:24:37 PM (14 years ago)
Author:
george
Message:
  • Fixed: Controls docked in Popup Tabs Manager was not removed due wrong RemoveControl method inheritance.
  • Fixed: Tabs in Tabs manager was not update properly.
  • Added: HeaderPos stored in Layout.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Docking/CoolDocking/UCDManager.pas

    r207 r208  
    219219  end;
    220220  //OnResize := ResizeExecute;
    221   //BevelInner := bvNone;
    222   //BevelOuter := bvNone;
     221  BevelInner := bvNone;
     222  BevelOuter := bvNone;
    223223  HeaderVisible := True;
    224224end;
     
    468468
    469469procedure 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   *)
     470begin
    489471end;
    490472
Note: See TracChangeset for help on using the changeset viewer.