Ignore:
Timestamp:
Sep 20, 2010, 9:22:02 AM (14 years ago)
Author:
george
Message:
  • Upraveno: Balíček přejmenován na CoolDocking. Přejmenovány také jména jednotek a tříd. Upraveno demo.
  • Opraveno: Přidávání nových oken do okna se záložkami.
File:
1 edited

Legend:

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

    r50 r54  
    77uses
    88  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
    9   ComCtrls, ExtCtrls, Buttons, Menus, UCustomDockManager, UDockForm;
     9  ComCtrls, ExtCtrls, Buttons, Menus, UCoolDocking, UDockForm;
    1010
    1111type
     
    1515  TMainForm = class(TForm)
    1616    Button1: TButton;
    17     CustomDockMaster1: TCustomDockMaster;
     17    CoolDockMaster1: TCoolDockMaster;
    1818    Panel1: TPanel;
    1919    procedure Button1Click(Sender: TObject);
     
    5050procedure TMainForm.FormShow(Sender: TObject);
    5151var
    52   ConjoinedDockForm1: TConjoinDockForm;
    53   ConjoinedDockForm2: TConjoinDockForm;
     52  ConjoinedDockForm1: TCoolDockConjoinForm;
     53  ConjoinedDockForm2: TCoolDockConjoinForm;
    5454begin
    5555  NewDockForm.ManualDock(Panel1);
    5656//  NewDockForm.ManualDock(Panel1, nil, a);
    57   ConjoinedDockForm1 := TCustomDockManager(Panel1.DockManager).CreateContainer(alRight);
     57  ConjoinedDockForm1 := TCoolDockManager(Panel1.DockManager).CreateContainer(alRight);
    5858  ConjoinedDockForm1.Name := 'Model';;
    59   TCustomDockManager(ConjoinedDockForm1.Panel.DockManager).TabsPos := hpLeft;
     59  TCoolDockManager(ConjoinedDockForm1.Panel.DockManager).TabsPos := hpLeft;
    6060  //ConjoinedDockForm1.ManualDock(Panel1);
    61   TCustomDockManager(ConjoinedDockForm1.Panel.DockManager).DockStyle := dsTabs;
     61  TCoolDockManager(ConjoinedDockForm1.Panel.DockManager).DockStyle := dsTabs;
    6262  NewDockForm.ManualDock(ConjoinedDockForm1.Panel);
    6363  NewDockForm.ManualDock(ConjoinedDockForm1.Panel);
Note: See TracChangeset for help on using the changeset viewer.