Ignore:
Timestamp:
Dec 8, 2010, 10:40:38 AM (14 years ago)
Author:
george
Message:
  • Added: Windows showing application component tree with names and types.
File:
1 edited

Legend:

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

    r62 r96  
    88  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
    99  ComCtrls, ExtCtrls, Buttons, Menus, UCoolDocking, UCoolDockCustomize,
    10   UDockForm;
     10  UDockForm, UComponentTree;
    1111
    1212type
     
    1616  TMainForm = class(TForm)
    1717    Button1: TButton;
     18    Button2: TButton;
    1819    CoolDockClient1: TCoolDockClient;
    1920    CoolDockCustomize1: TCoolDockCustomize;
     
    2728    Panel1: TPanel;
    2829    procedure Button1Click(Sender: TObject);
     30    procedure Button2Click(Sender: TObject);
    2931    procedure FormCreate(Sender: TObject);
    3032    procedure FormDestroy(Sender: TObject);
     
    7072  ConjoinedDockForm1.ManualDock(Panel1);
    7173  TCoolDockManager(ConjoinedDockForm1.Panel.DockManager).DockStyle := dsTabs;
    72   (*NewDockForm.ManualDock(ConjoinedDockForm1.Panel);
     74  NewDockForm.ManualDock(ConjoinedDockForm1.Panel);
    7375  NewDockForm.ManualDock(ConjoinedDockForm1.Panel);
    7476  NewDockForm.ManualDock(TForm(DockForms[0]));
    7577  NewDockForm.ManualDock(TForm(DockForms[0]));
    76   NewDockForm.ManualDock(TForm(DockForms[0]));*)
     78  NewDockForm.ManualDock(TForm(DockForms[0]));
    7779//  TCustomDockManager(TDockForm(DockForms[0]).DockManager).DockStyle := dsTabs;
    7880end;
     
    107109end;
    108110
     111procedure TMainForm.Button2Click(Sender: TObject);
     112begin
     113  ComponentTree.Show;
     114end;
     115
    109116end.
    110117
Note: See TracChangeset for help on using the changeset viewer.