Changeset 103 for Docking/CoolDocking/UCoolDockStylePopupTabs.pas
- Timestamp:
- Dec 29, 2010, 1:56:04 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/UCoolDockStylePopupTabs.pas
r98 r103 7 7 uses 8 8 Classes, Controls, SysUtils, ComCtrls, ExtCtrls, 9 UCoolDockStyleTabs, UCoolDockStyle ;9 UCoolDockStyleTabs, UCoolDockStyle, UCoolDockClientPanel; 10 10 11 11 type … … 52 52 constructor Create(AManager: TObject); 53 53 destructor Destroy; override; 54 private 54 55 end; 55 56 … … 181 182 182 183 constructor TCoolDockStylePopupTabs.Create(AManager: TObject); 184 var 185 I: Integer; 183 186 begin 187 inherited; 188 184 189 AutoHide := TCoolDockAutoHide.Create; 185 TabImageList := TImageList.Create(TCoolDockManager(AManager).DockSite);186 with TabImageList do begin187 end;188 TabControl := TTabControl.Create(TCoolDockManager(AManager).DockSite);189 with TabControl do begin190 Parent := TCoolDockManager(AManager).DockSite;191 Visible := False;192 Align := alTop;193 Height := 24;194 OnChange := TabControlChange;195 PopupMenu := TCoolDockManager(Manager).PopupMenu;196 TTabControlNoteBookStrings(Tabs).NoteBook.OnMouseLeave := TabControlMouseLeave;197 TTabControlNoteBookStrings(Tabs).NoteBook.OnMouseDown := TabControlMouseDown;198 TTabControlNoteBookStrings(Tabs).NoteBook.OnMouseUp := TabControlMouseUp;199 OnMouseUp := TabControlMouseUp;200 Images := TabImageList;201 end;202 190 end; 203 191
Note:
See TracChangeset
for help on using the changeset viewer.