Ignore:
Timestamp:
May 22, 2012, 7:46:00 AM (12 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Docking/CoolDocking/UCDManager.pas

    r359 r365  
    118118    procedure SetHeaderPos(const AValue: THeaderPos); virtual;
    119119    function GetHeaderPos: THeaderPos; virtual;
     120    procedure BringToFront; virtual;
    120121
    121122    // Inherited from TDockManager
     
    348349end;
    349350
     351procedure TCDManager.BringToFront;
     352begin
     353  //DockSiteVisible := True;
     354  DockSite.Show;
     355  DockSite.BringToFront;
     356  if Assigned(DockSite.Parent) then begin
     357    if Assigned(DockSite.Parent.DockManager)
     358      and (DockSite.Parent.DockManager is TCDManager) then
     359    TCDManager(DockSite.Parent.DockManager).BringToFront
     360    else DockSite.Parent.BringToFront;
     361  end;
     362end;
     363
    350364function TCDManager.GetMoveDuration: Integer;
    351365begin
Note: See TracChangeset for help on using the changeset viewer.