Changeset 430 for Docking/CoolDocking/UCDConjoinForm.pas
- Timestamp:
- Oct 17, 2012, 1:24:58 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/UCDConjoinForm.pas
r355 r430 12 12 13 13 TCDConjoinForm = class(TCDConjoinFormBase) 14 protected 15 procedure SetName(const NewName: TComponentName); override; 14 16 public 17 FreeIfEmpty: Boolean; 15 18 CoolDockClient: TCDClientBase; 16 19 UpdateCaptionEnable: Boolean; … … 20 23 constructor Create(TheOwner: TComponent); override; 21 24 destructor Destroy; override; 22 private23 procedure SetName(const NewName: TComponentName); override;24 25 end; 25 26 … … 48 49 if Assigned(HostDockSite) and (HostDockSite is TCDConjoinForm) then 49 50 TCDConjoinForm(HostDockSite).UpdateCaption; 51 //if Assigned(HostDockSite) and (HostDockSite is TCDConjoinForm) then 52 TCDManager(DockManager).Update; 50 53 end; 51 54 end; … … 57 60 58 61 procedure TCDConjoinForm.FormHide(Sender: TObject); 59 var60 I: Integer;61 62 begin 62 63 TCDManager(DockManager).Visible := False; … … 65 66 constructor TCDConjoinForm.Create(TheOwner: TComponent); 66 67 begin 67 inherited CreateNew(TheOwner);68 inherited; 68 69 CoolDockClient := TCDClient.Create(Self); 69 70 with TCDClient(CoolDockClient) do begin … … 73 74 OnHide := FormHide; 74 75 UpdateCaptionEnable := True; 76 FreeIfEmpty := True; 75 77 end; 76 78
Note:
See TracChangeset
for help on using the changeset viewer.