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/UCoolDockStyle.pas

    r97 r103  
    99
    1010type
    11 
    1211  { TCoolDockStyle }
    1312
    1413  TCoolDockStyle = class
     14  private
     15  public
    1516    Manager: TObject; // TCoolDockManager;
     17    function GetHeaderPos: THeaderPos; virtual;
     18    procedure SetHeaderPos(const AValue: THeaderPos); virtual;
    1619    constructor Create(AManager: TObject);
    1720    procedure InsertControl(NewPanel: TCoolDockClientPanel; AControl: TControl;
    1821      InsertAt: TAlign); virtual;
    1922    procedure UpdateClientSize; virtual;
     23    procedure Switch(Index: Integer); virtual;
     24    procedure ChangeVisible(Control: TWinControl; Visible: Boolean); virtual;
     25    property HeaderPos: THeaderPos read GetHeaderPos write SetHeaderPos;
    2026  end;
    2127
     
    2632
    2733{ TCoolDockStyle }
     34
     35function TCoolDockStyle.GetHeaderPos: THeaderPos;
     36begin
     37
     38end;
     39
     40procedure TCoolDockStyle.SetHeaderPos(const AValue: THeaderPos);
     41begin
     42
     43end;
    2844
    2945constructor TCoolDockStyle.Create(AManager: TObject);
     
    4359end;
    4460
     61procedure TCoolDockStyle.Switch(Index: Integer);
     62begin
     63
     64end;
     65
     66procedure TCoolDockStyle.ChangeVisible(Control: TWinControl; Visible: Boolean);
     67begin
     68
     69end;
     70
    4571end.
    4672
Note: See TracChangeset for help on using the changeset viewer.