Ignore:
Timestamp:
Dec 29, 2010, 1:56:04 PM (14 years ago)
Author:
george
Message:
  • Fixed: Hiding invisible docked forms as tabs.
  • Added: Ability to bring window to front on execute Form.Show.
File:
1 edited

Legend:

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

    r97 r103  
    7171  //TCoolDockManager(ConjoinedDockForm1.Panel.DockManager).TabsPos := hpLeft;
    7272  ConjoinedDockForm1.ManualDock(Panel1);
    73   //TCoolDockManager(ConjoinedDockForm1.Panel.DockManager).DockStyle := dsTabs;
     73  TCoolDockManager(ConjoinedDockForm1.Panel.DockManager).DockStyle := dsTabs;
    7474  NewDockForm.ManualDock(ConjoinedDockForm1.Panel);
    7575  NewDockForm.ManualDock(ConjoinedDockForm1.Panel);
    76   NewDockForm.ManualDock(TForm(DockForms[0]));
    77   NewDockForm.ManualDock(TForm(DockForms[0]));
    78   NewDockForm.ManualDock(TForm(DockForms[0]));
    79 //  TCustomDockManager(TDockForm(DockForms[0]).DockManager).DockStyle := dsTabs;
     76  //NewDockForm.ManualDock(TForm(DockForms[0]));
     77  //NewDockForm.ManualDock(TForm(DockForms[0]));
     78  //NewDockForm.ManualDock(TForm(DockForms[0]));
     79  //TCustomDockManager(TDockForm(DockForms[0]).DockManager).DockStyle := dsTabs;
    8080end;
    8181
     
    9494  Result := TDockForm.Create(Self);
    9595  Result.Name := 'Form' + IntToStr(FormIndex);
     96  Result.Caption := Result.Name;
    9697  Result.Memo1.Text := Result.Name;
    9798  //Result.DragKind := dkDock;
Note: See TracChangeset for help on using the changeset viewer.