Changeset 182 for Docking/CoolDocking/UCoolDockLayout.pas
- Timestamp:
- Mar 9, 2011, 2:11:40 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/UCoolDockLayout.pas
r181 r182 351 351 NewItem := TCoolDockLayoutItem.Create; 352 352 NewItem.Parent := Parent; 353 NewItem.DockStyle := TCoolDockManager(Form.HostDockSite.Parent.DockManager).DockStyle; 354 Parent.Items.Add(NewItem); 353 355 NewItem.Store(Form.HostDockSite.Parent); 354 Parent.Items.Add(NewItem);355 356 end; 356 357 end; … … 391 392 if FormClass = TCoolDockConjoinForm then begin 392 393 ParentComponent := TCoolDockConjoinForm.Create(Application); 394 TCoolDockManager(TCoolDockConjoinForm(ParentComponent).Panel.DockManager).DockStyle := ParentLayoutItem.DockStyle; 393 395 ParentLayoutItem.Restore(TWinControl(ParentComponent)); 394 396 end;
Note:
See TracChangeset
for help on using the changeset viewer.