Ignore:
Timestamp:
Mar 10, 2011, 9:57:21 AM (14 years ago)
Author:
george
Message:
  • Fixed: Placing new form inside regions with different orientation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Docking/CoolDocking/UCoolDockClientPanel.pas

    r183 r184  
    77uses
    88  Classes, Controls, SysUtils, Forms, StdCtrls, ExtCtrls, Graphics,
    9   Buttons;
     9  Buttons, UCoolDockCommon;
    1010
    1111type
     
    4747    procedure SetShowHeader(const AValue: Boolean);
    4848  public
    49     OwnerDockManager: TObject; // TCoolDockManager;
     49    OwnerDockManager: TCoolDockManagerBase;
    5050    Splitter: TSplitter;
    5151    ClientAreaPanel: TPanel;
     
    6868
    6969uses
    70   UCoolDocking;
     70  UCoolDocking, UCoolDockStyle;
    7171
    7272{ TCoolDockClientPanel }
     
    8484  Temp: TControl;
    8585  Temp2: TControl;
     86  Temp3: TCoolDockStyle;
    8687begin
    8788  Temp := TControl(Sender);
     
    99100    if Assigned(DockStyleHandler) then
    100101    with DockStyleHandler do begin
     102      Temp3 := DockStyleHandler;
    101103      //UpdateClientSize;
    102104      if ControlVisible then
     
    258260    Brush.Style := bsClear;
    259261  end;
     262  Title := TLabel.Create(Self);
     263  with Title do begin
     264    Parent := Self;
     265    Visible := True;
     266    Top := 4;
     267    Left := 6;
     268    BevelInner := bvNone;
     269    BevelOuter := bvNone;
     270  end;
    260271  CloseButton := TSpeedButton.Create(Self);
    261272  with CloseButton do begin
     
    271282    OnClick := CloseButtonClick;
    272283  end;
    273   Title := TLabel.Create(Self);
    274   with Title do begin
    275     Parent := Self;
    276     Visible := True;
    277     Top := 4;
    278     Left := 6;
    279     BevelInner := bvNone;
    280     BevelOuter := bvNone;
    281   end;
    282284  Icon := TImage.Create(Self);
    283285  with Icon do begin
Note: See TracChangeset for help on using the changeset viewer.