Changeset 184 for Docking/CoolDocking/UCoolDockClientPanel.pas
- Timestamp:
- Mar 10, 2011, 9:57:21 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/UCoolDockClientPanel.pas
r183 r184 7 7 uses 8 8 Classes, Controls, SysUtils, Forms, StdCtrls, ExtCtrls, Graphics, 9 Buttons ;9 Buttons, UCoolDockCommon; 10 10 11 11 type … … 47 47 procedure SetShowHeader(const AValue: Boolean); 48 48 public 49 OwnerDockManager: T Object; // TCoolDockManager;49 OwnerDockManager: TCoolDockManagerBase; 50 50 Splitter: TSplitter; 51 51 ClientAreaPanel: TPanel; … … 68 68 69 69 uses 70 UCoolDocking ;70 UCoolDocking, UCoolDockStyle; 71 71 72 72 { TCoolDockClientPanel } … … 84 84 Temp: TControl; 85 85 Temp2: TControl; 86 Temp3: TCoolDockStyle; 86 87 begin 87 88 Temp := TControl(Sender); … … 99 100 if Assigned(DockStyleHandler) then 100 101 with DockStyleHandler do begin 102 Temp3 := DockStyleHandler; 101 103 //UpdateClientSize; 102 104 if ControlVisible then … … 258 260 Brush.Style := bsClear; 259 261 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; 260 271 CloseButton := TSpeedButton.Create(Self); 261 272 with CloseButton do begin … … 271 282 OnClick := CloseButtonClick; 272 283 end; 273 Title := TLabel.Create(Self);274 with Title do begin275 Parent := Self;276 Visible := True;277 Top := 4;278 Left := 6;279 BevelInner := bvNone;280 BevelOuter := bvNone;281 end;282 284 Icon := TImage.Create(Self); 283 285 with Icon do begin
Note:
See TracChangeset
for help on using the changeset viewer.