Changeset 153 for trunk/Core.pas


Ignore:
Timestamp:
Aug 14, 2024, 1:05:13 PM (3 months ago)
Author:
chronos
Message:
  • Added: Full screen switching support.
  • Added: Help form.
  • Modified: Updated Common package.
  • Fixed: Execution of compiled Java and C# programs.
  • Fixed: Removed interlanced empty lines in Console form on Unix.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Core.pas

    r152 r153  
    121121  TFormEx.PersistentForm := PersistentForm1;
    122122
    123   FormMain := TFormMain.Create(nil);
     123  Application.CreateForm(TFormMain, FormMain);
    124124  FormMain.Show;
    125125end;
     
    132132  FreeAndNil(Project);
    133133  FreeAndNil(StoredDimension);
    134   FreeAndNil(FormMain);
    135134end;
    136135
     
    258257procedure TCore.TargetLogExecute(Lines: TStrings);
    259258begin
    260 
    261259end;
    262260
     
    269267    if (DesignDPI.X <> DPI.X) or (DesignDPI.Y <> DPI.Y) then begin
    270268      //ApplyToAll(DesignDPI);
    271       for I := 0 to Screen.FormCount - 1 do
     269{      for I := 0 to Screen.FormCount - 1 do
    272270      if (Screen.Forms[I].WindowState = wsNormal) or
    273271        (Screen.Forms[I].WindowState = wsMinimized) then begin
     
    275273        ScaleDimensions(Screen.Forms[I], StoredDimension);
    276274      end;
    277       ScaleImageList(ImageListMain, DesignDPI);
     275 }     ScaleImageList(ImageListMain, DesignDPI);
    278276    end;
    279277  end;
Note: See TracChangeset for help on using the changeset viewer.