Changeset 48 for DockManager/Lazarus/Demo/UMainForm.pas
- Timestamp:
- Sep 17, 2010, 3:34:31 PM (14 years ago)
- Location:
- DockManager/Lazarus
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
DockManager/Lazarus
-
Property svn:ignore
set to
lib
-
Property svn:ignore
set to
-
DockManager/Lazarus/Demo/UMainForm.pas
r47 r48 7 7 uses 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, 9 ComCtrls, ExtCtrls, Buttons, UCustomDockManager, UDockForm;9 ComCtrls, ExtCtrls, Buttons, Menus, UCustomDockManager, UDockForm; 10 10 11 11 type … … 15 15 TMainForm = class(TForm) 16 16 Button1: TButton; 17 CustomDockMaster1: TCustomDockMaster; 17 18 Panel1: TPanel; 18 TabControl1: TTabControl;19 19 procedure Button1Click(Sender: TObject); 20 20 procedure FormCreate(Sender: TObject); … … 54 54 begin 55 55 NewDockForm.ManualDock(Panel1); 56 NewDockForm.ManualDock(Panel1, nil, alBottom);57 ConjoinedDockForm1 := TCustomDockManager( TForm(DockForms[1]).DockManager).CreateContainer;56 // NewDockForm.ManualDock(Panel1, nil, a); 57 ConjoinedDockForm1 := TCustomDockManager(Panel1.DockManager).CreateContainer(alRight); 58 58 ConjoinedDockForm1.Name := 'Model';; 59 ConjoinedDockForm1.ManualDock(Panel1);59 //ConjoinedDockForm1.ManualDock(Panel1); 60 60 TCustomDockManager(ConjoinedDockForm1.Panel.DockManager).DockStyle := dsTabs; 61 61 NewDockForm.ManualDock(ConjoinedDockForm1.Panel);
Note:
See TracChangeset
for help on using the changeset viewer.