Ignore:
Timestamp:
Sep 16, 2010, 1:52:48 PM (14 years ago)
Author:
george
Message:
  • Upraveno: Přepracováno na uchování seznamu ukotvovacích klientů horizontálně nebo vertikálně.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DockManager/Lazarus/Demo/UMainForm.pas

    r41 r43  
    4444
    4545procedure TMainForm.FormShow(Sender: TObject);
     46var
     47  DockForm1: TDockForm;
     48  DockForm2: TDockForm;
     49  DockForm3: TDockForm;
    4650begin
    4751  Button1Click(Self);
    48   LastDockForm.ManualDock(Panel1);
     52  DockForm1 := LastDockForm;
     53  DockForm1.ManualDock(Panel1);
     54
     55  Button1Click(Self);
     56  DockForm2 := LastDockForm;
     57  DockForm2.ManualDock(Panel1);
     58
     59  Button1Click(Self);
     60  DockForm3 := LastDockForm;
     61  DockForm3.ManualDock(DockForm2);
    4962end;
    5063
     
    7588  NewForm.DragKind := dkDock;
    7689  NewForm.DragMode := dmAutomatic;
     90  NewForm.DockSite := True;
     91  NewForm.UseDockManager := True;
    7792  Inc(FormIndex);
    7893  NewForm.Show;
Note: See TracChangeset for help on using the changeset viewer.