Changeset 217 for Docking/CoolDocking/Managers/UCDManagerTabs.pas
- Timestamp:
- Mar 22, 2011, 11:32:28 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/Managers/UCDManagerTabs.pas
r216 r217 254 254 NewItem.IconImage.Picture.Assign((Control as TForm).Icon); 255 255 256 NewItem.Control := Control;256 NewItem.Control := TWinControl(Control); 257 257 Control.AddHandlerOnVisibleChanged(NewItem.VisibleChange); 258 258 //AControl.Parent := NewItem.ClientAreaPanel; … … 272 272 if Assigned(ManagerItem) then begin 273 273 Control.RemoveHandlerOnVisibleChanged(ManagerItem.VisibleChange); 274 end 274 end; //else raise Exception.Create(Format('Control %s not found in DockItems', [Control.Name])); 275 275 276 276 DockItems.Remove(ManagerItem);
Note:
See TracChangeset
for help on using the changeset viewer.