- Timestamp:
- Oct 8, 2010, 10:27:42 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/UCoolDocking.pas
r63 r64 1029 1029 R: TRect; 1030 1030 begin 1031 if (csDestroyingHandle in ControlState) then1031 if not (csDesigning in ComponentState) then 1032 1032 if Assigned(Control) then begin 1033 1033 R := Control.ClientRect; … … 1193 1193 LayoutFile: TFileStream; 1194 1194 begin 1195 if FileExistsUTF8(FileName) then1196 LayoutFile := TFileStream.Create(FileName, fmOpenReadWrite)1197 else LayoutFile := TFileStream.Create(FileName, fmCreate);1198 1195 try 1196 if FileExistsUTF8(FileName) then 1197 LayoutFile := TFileStream.Create(FileName, fmOpenReadWrite) 1198 else LayoutFile := TFileStream.Create(FileName, fmCreate); 1199 1199 SaveLayoutToStream(LayoutFile); 1200 1200 finally 1201 Free;1201 LayoutFile.Free; 1202 1202 end; 1203 1203 end;
Note:
See TracChangeset
for help on using the changeset viewer.