Ignore:
Timestamp:
May 13, 2011, 9:34:51 AM (14 years ago)
Author:
george
Message:
  • Fixed: CoolDocking demo compilation for latest package version.
File:
1 edited

Legend:

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

    r177 r243  
    77uses
    88  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
    9   ComCtrls, ExtCtrls, Buttons, Menus, UCoolDocking, UCoolDockCustomize,
    10   UDockForm, UComponentTree;
     9  ComCtrls, ExtCtrls, Buttons, Menus, UCDMaster, UCDCustomize, UCDClient,
     10  UDockForm, UComponentTree, UCDWindowList, UCDConjoinForm, UCDManager,
     11  UCDCommon;
    1112
    1213type
     
    1718    Button1: TButton;
    1819    Button2: TButton;
    19     CoolDockClient1: TCoolDockClient;
    20     CoolDockCustomize1: TCoolDockCustomize;
    21     CoolDockMaster1: TCoolDockMaster;
    22     CoolDockWindowList1: TCoolDockWindowList;
     20    CoolDockClient1: TCDClient;
     21    CoolDockCustomize1: TCDCustomize;
     22    CoolDockMaster1: TCDMaster;
     23    CoolDockWindowList1: TCDWindowList;
    2324    MainMenu1: TMainMenu;
    2425    MenuItem1: TMenuItem;
     
    6970procedure TMainForm.FormShow(Sender: TObject);
    7071var
    71   ConjoinedDockForm1: TCoolDockConjoinForm;
    72   ConjoinedDockForm2: TCoolDockConjoinForm;
     72  ConjoinedDockForm1: TCDConjoinForm;
     73  ConjoinedDockForm2: TCDConjoinForm;
    7374begin
    7475  NewDockForm.ManualDock(Panel1);
    7576  NewDockForm.ManualDock(Panel1);
    76   ConjoinedDockForm1 := TCoolDockManager(Panel1.DockManager).CreateContainer(alRight);
     77  ConjoinedDockForm1 := TCDManager(Panel1.DockManager).CreateConjoinForm;
    7778  ConjoinedDockForm1.Name := 'Model';;
    7879  //TCoolDockManager(ConjoinedDockForm1.Panel.DockManager).TabsPos := hpLeft;
    7980  ConjoinedDockForm1.ManualDock(Panel1);
    80   TCoolDockManager(ConjoinedDockForm1.Panel.DockManager).DockStyle := dsTabs;
    81   NewDockForm.ManualDock(ConjoinedDockForm1.Panel);
    82   NewDockForm.ManualDock(ConjoinedDockForm1.Panel);
    83   NewDockForm.ManualDock(ConjoinedDockForm1.Panel);
     81  TCDManager(ConjoinedDockForm1.DockManager).DockStyle := dsTabs;
     82  NewDockForm.ManualDock(ConjoinedDockForm1);
     83  NewDockForm.ManualDock(ConjoinedDockForm1);
     84  NewDockForm.ManualDock(ConjoinedDockForm1);
    8485  //NewDockForm.ManualDock(TForm(DockForms[0]));
    8586  //NewDockForm.ManualDock(TForm(DockForms[0]));
Note: See TracChangeset for help on using the changeset viewer.