Changeset 209 for Docking/CoolDocking/Managers/UCDManagerTabs.pas
- Timestamp:
- Mar 18, 2011, 2:16:28 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/Managers/UCDManagerTabs.pas
r208 r209 34 34 procedure InsertControlPanel(AControl: TControl; InsertAt: TAlign; 35 35 DropCtl: TControl); override; 36 procedure UpdateClientSize; override;37 36 function FindControlInPanels(Control: TControl): TCDManagerItem; override; 38 37 function GetHeaderPos: THeaderPos; override; … … 41 40 TabImageList: TImageList; 42 41 PageControl: TPageControl; 42 procedure UpdateClientSize; override; 43 43 procedure SetHeaderPos(const AValue: THeaderPos); override; 44 44 procedure InsertControlNoUpdate(Control: TControl; InsertAt: TAlign); virtual; … … 290 290 end; 291 291 inherited RemoveControl(Control); 292 if ClientCount > 1 then UpdateClientSize; 292 //if ClientCount > 0 then 293 UpdateClientSize; 293 294 end; 294 295 … … 348 349 349 350 while PageControl.PageList.Count > DockItems.Count do begin 350 PageControl.Pages[PageControl.PageCount - 1].Parent := nil;351 //PageControl.Pages[PageControl.PageCount - 1].Parent := nil; 351 352 PageControl.Pages[PageControl.PageCount - 1].Free; 352 353 TabImageList.Delete(TabImageList.Count - 1);
Note:
See TracChangeset
for help on using the changeset viewer.