Ignore:
Timestamp:
Mar 21, 2011, 10:23:24 AM (14 years ago)
Author:
george
Message:
  • Fixed: Tabs image indexes.
  • Fixed: Destroying Tabs managed conjoin form.
File:
1 edited

Legend:

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

    r209 r213  
    288288      Free;
    289289    end;
    290   end;
     290  end else UpdateClientSize;
    291291  inherited RemoveControl(Control);
    292   //if ClientCount > 0 then
    293   UpdateClientSize;
    294292end;
    295293
     
    362360  with TCDManagerTabsItem(DockItems[I]) do begin
    363361    PageControl.Pages[I].Caption := Control.Caption;
    364     PageControl.Pages[I].ImageIndex := TabImageList.Count;
     362    PageControl.Pages[I].ImageIndex := I;
    365363    TabImageList.Replace(I, IconImage.Picture.Bitmap, nil);
    366364    Control.Parent := PageControl.Pages[I];
Note: See TracChangeset for help on using the changeset viewer.