Ignore:
Timestamp:
Mar 16, 2011, 7:47:27 AM (14 years ago)
Author:
george
Message:
  • Modified: Docked client header redone to delphi visual style.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Docking/CoolDocking/Managers/UCDManagerTabsPopup.pas

    r194 r197  
    4848  TCDStylePopupTabs = class(TCDManagerTabs)
    4949  public
    50     TabControl: TTabControl;
    51     TabImageList: TImageList;
    5250    AutoHideEnabled: Boolean;
    5351    AutoHide: TCDAutoHide;
    54     procedure TabControlMouseLeave(Sender: TObject);
    55     procedure TabControlChange(Sender: TObject);
    56     procedure TabControlMouseDown(Sender: TObject; Button: TMouseButton;
    57       Shift: TShiftState; X, Y: Integer);
    58     procedure TabControlMouseUp(Sender: TObject; Button: TMouseButton;
    59       Shift: TShiftState; X, Y: Integer);
     52    PopupPanel: TPanel;
    6053    constructor Create(ADockSite: TWinControl);
    6154    destructor Destroy; override;
     
    174167{ TCDStylePopupTabs }
    175168
    176 procedure TCDStylePopupTabs.TabControlMouseLeave(Sender: TObject);
    177 begin
    178 
    179 end;
    180 
    181 procedure TCDStylePopupTabs.TabControlChange(Sender: TObject);
    182 begin
    183 
    184 end;
    185 
    186 procedure TCDStylePopupTabs.TabControlMouseDown(Sender: TObject;
    187   Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
    188 begin
    189 
    190 end;
    191 
    192 procedure TCDStylePopupTabs.TabControlMouseUp(Sender: TObject;
    193   Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
    194 begin
    195 
    196 end;
    197169
    198170constructor TCDStylePopupTabs.Create(ADockSite: TWinControl);
     
    202174  inherited;
    203175  FDockStyle := dsPopupTabs;
    204 
    205176  AutoHide := TCDAutoHide.Create;
     177  PopupPanel := TPanel.Create(nil);
    206178end;
    207179
     
    209181begin
    210182  AutoHide.Free;
     183  PopupPanel.Free;
    211184  inherited Destroy;
    212185end;
Note: See TracChangeset for help on using the changeset viewer.