Changeset 216 for Docking/CoolDocking/UCDConjoinForm.pas
- Timestamp:
- Mar 22, 2011, 9:49:17 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/UCDConjoinForm.pas
r194 r216 14 14 public 15 15 CoolDockClient: TCDClientBase; 16 procedure UpdateCaption; 16 17 procedure FormShow(Sender : TObject); 17 18 procedure FormHide(Sender : TObject); … … 29 30 30 31 { TCDConjoinForm } 32 33 procedure TCDConjoinForm.UpdateCaption; 34 var 35 NewCaption: string; 36 I: Integer; 37 begin 38 NewCaption := ''; 39 for I := 0 to DockClientCount - 1 do begin 40 //if DockClients[I] is TCDConjoinForm then 41 // TCDConjoinForm(DockClients[I]).UpdateCaption; 42 NewCaption := NewCaption + DockClients[I].Caption + ', '; 43 end; 44 Caption := Copy(NewCaption, 1, Length(NewCaption) - 2); 45 46 if Assigned(HostDockSite) and (HostDockSite is TCDConjoinForm) then 47 TCDConjoinForm(HostDockSite).UpdateCaption; 48 end; 31 49 32 50 procedure TCDConjoinForm.FormShow(Sender: TObject);
Note:
See TracChangeset
for help on using the changeset viewer.