Changeset 253
- Timestamp:
- Jul 20, 2011, 9:50:03 PM (13 years ago)
- Location:
- Docking/CoolDocking
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/Managers/UCDManagerTabs.pas
r248 r253 359 359 360 360 // Remove old existed tabs which doesn't have item associated 361 for I := PageControl.Page List.Count - 1 downto 0 do begin361 for I := PageControl.PageCount - 1 downto 0 do begin 362 362 // TCDManagerTabsItem(DockItems[DockItems.Count - 1]).Control.Visible := False; 363 363 // TCDManagerTabsItem(DockItems[DockItems.Count - 1]).Control.Parent := nil; 364 364 365 if FindTabSheet(TTabSheet(PageControl.Page List[I])) = nil then begin365 if FindTabSheet(TTabSheet(PageControl.Pages[I])) = nil then begin 366 366 PageControl.OnChange := nil; 367 367 DeletedPage := PageControl.Pages[I]; -
Docking/CoolDocking/UCDManager.pas
r218 r253 689 689 R: TRect; 690 690 begin 691 if Assigned(Control) then691 if Assigned(Control) and Assigned(TWinControl(Control).DockManager) then 692 692 with TCDManager(TWinControl(Control).DockManager) do 693 693 case HeaderPos of
Note:
See TracChangeset
for help on using the changeset viewer.