Ignore:
Timestamp:
Mar 16, 2011, 12:32:41 PM (14 years ago)
Author:
george
Message:
  • Fixed: Popup submenus style and position item selection.
  • Added: Locking dock managers.
  • Modified: Enhanced auto popup tabs handling. Not yet finished.
  • Modified: Dock manager position united for all dock manager descendands.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Docking/CoolDocking/Demo/IDE/UMainForm.pas

    r197 r198  
    1212  UWatchListForm, UThreadStatusForm, USourceEditorForm, UCDWindowList,
    1313  UCDCustomize, UComponentTree, UCDConjoinForm, UCDManager,
    14   UCDMaster;
     14  UCDMaster, UCDCommon;
    1515
    1616const
     
    160160  if not Assigned(DefaultLayout) then begin
    161161    NewContainer1 := TCDManager(DockPanel.DockManager).CreateContainer(alRight);
    162     NewContainer1.Show;
     162    TCDManager(NewContainer1.DockManager).DockStyle := dsPopupTabs;
     163    TCDManager(NewContainer1.DockManager).HeaderPos := hpLeft;
    163164
    164165    StructureForm.ManualDock(NewContainer1, nil, alTop);
     
    168169
    169170    NewContainer2 := TCDManager(DockPanel.DockManager).CreateContainer(alRight);
    170     NewContainer2.Show;
     171    TCDManager(NewContainer2.DockManager).DockStyle := dsPopupTabs;
     172    TCDManager(NewContainer2.DockManager).HeaderPos := hpRight;
    171173    ProjectManagerForm.ManualDock(NewContainer2, nil, alTop);
    172174    ProjectManagerForm.Show;
     
    175177
    176178    NewContainer1.ManualDock(DockPanel);
     179    NewContainer1.Show;
    177180    SourceEditorForm.ManualDock(DockPanel);
    178181    SourceEditorForm.Show;
    179182    NewContainer2.ManualDock(DockPanel);
     183    NewContainer2.Show;
    180184
    181185    DefaultLayout := TCDLayout.Create;
Note: See TracChangeset for help on using the changeset viewer.