Ignore:
Timestamp:
Sep 20, 2010, 1:15:16 PM (14 years ago)
Author:
george
Message:
  • Opraveno: Neuvolněná paměť vytvářených sdružených oken.
  • Opraveno: Komponenta formuláře pro volby kotvení předělána z TForm na TComponent, které volá TForm.Show pomocí metody Execute.
File:
1 edited

Legend:

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

    r54 r55  
    77uses
    88  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
    9   ComCtrls, ExtCtrls, Buttons, Menus, UCoolDocking, UDockForm;
     9  ComCtrls, ExtCtrls, Buttons, Menus, UCoolDocking, UCoolDockCustomize,
     10  UDockForm;
    1011
    1112type
     
    1516  TMainForm = class(TForm)
    1617    Button1: TButton;
     18    Button2: TButton;
     19    CoolDockCustomize1: TCoolDockCustomize;
    1720    CoolDockMaster1: TCoolDockMaster;
    1821    Panel1: TPanel;
     22    TabControl1: TTabControl;
    1923    procedure Button1Click(Sender: TObject);
     24    procedure Button2Click(Sender: TObject);
    2025    procedure FormCreate(Sender: TObject);
    2126    procedure FormDestroy(Sender: TObject);
     
    5459begin
    5560  NewDockForm.ManualDock(Panel1);
    56 //  NewDockForm.ManualDock(Panel1, nil, a);
     61 // NewDockForm.ManualDock(Panel1);
    5762  ConjoinedDockForm1 := TCoolDockManager(Panel1.DockManager).CreateContainer(alRight);
    5863  ConjoinedDockForm1.Name := 'Model';;
     
    8792end;
    8893
     94procedure TMainForm.Button2Click(Sender: TObject);
     95begin
     96  CoolDockCustomize1.Execute;
     97end;
     98
    8999end.
    90100
Note: See TracChangeset for help on using the changeset viewer.