Changeset 153 for trunk/Core.pas
- Timestamp:
- Aug 14, 2024, 1:05:13 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Core.pas
r152 r153 121 121 TFormEx.PersistentForm := PersistentForm1; 122 122 123 FormMain := TFormMain.Create(nil);123 Application.CreateForm(TFormMain, FormMain); 124 124 FormMain.Show; 125 125 end; … … 132 132 FreeAndNil(Project); 133 133 FreeAndNil(StoredDimension); 134 FreeAndNil(FormMain);135 134 end; 136 135 … … 258 257 procedure TCore.TargetLogExecute(Lines: TStrings); 259 258 begin 260 261 259 end; 262 260 … … 269 267 if (DesignDPI.X <> DPI.X) or (DesignDPI.Y <> DPI.Y) then begin 270 268 //ApplyToAll(DesignDPI); 271 for I := 0 to Screen.FormCount - 1 do269 { for I := 0 to Screen.FormCount - 1 do 272 270 if (Screen.Forms[I].WindowState = wsNormal) or 273 271 (Screen.Forms[I].WindowState = wsMinimized) then begin … … 275 273 ScaleDimensions(Screen.Forms[I], StoredDimension); 276 274 end; 277 ScaleImageList(ImageListMain, DesignDPI);275 } ScaleImageList(ImageListMain, DesignDPI); 278 276 end; 279 277 end;
Note:
See TracChangeset
for help on using the changeset viewer.