Ignore:
Timestamp:
Mar 18, 2011, 2:16:28 PM (14 years ago)
Author:
george
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Docking/CoolDocking/Managers/UCDManagerTabs.pas

    r208 r209  
    3434    procedure InsertControlPanel(AControl: TControl; InsertAt: TAlign;
    3535      DropCtl: TControl); override;
    36     procedure UpdateClientSize; override;
    3736    function FindControlInPanels(Control: TControl): TCDManagerItem; override;
    3837    function GetHeaderPos: THeaderPos; override;
     
    4140    TabImageList: TImageList;
    4241    PageControl: TPageControl;
     42    procedure UpdateClientSize; override;
    4343    procedure SetHeaderPos(const AValue: THeaderPos); override;
    4444    procedure InsertControlNoUpdate(Control: TControl; InsertAt: TAlign); virtual;
     
    290290  end;
    291291  inherited RemoveControl(Control);
    292   if ClientCount > 1 then UpdateClientSize;
     292  //if ClientCount > 0 then
     293  UpdateClientSize;
    293294end;
    294295
     
    348349
    349350  while PageControl.PageList.Count > DockItems.Count do begin
    350     PageControl.Pages[PageControl.PageCount - 1].Parent := nil;
     351    //PageControl.Pages[PageControl.PageCount - 1].Parent := nil;
    351352    PageControl.Pages[PageControl.PageCount - 1].Free;
    352353    TabImageList.Delete(TabImageList.Count - 1);
Note: See TracChangeset for help on using the changeset viewer.