Changeset 149 for trunk/Core.pas


Ignore:
Timestamp:
Jun 5, 2024, 9:58:43 AM (5 months ago)
Author:
chronos
Message:
  • Modified: Use TFormEx class from Common package.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Core.pas

    r148 r149  
    7070
    7171uses
    72   LazFileUtils, FormMain,
     72  LazFileUtils, FormMain, FormEx,
    7373  // Targets
    7474  TargetInterpretter, TargetFPC, TargetJava, TargetDelphi, TargetJavascript,
     
    115115    ApplicationInfo.RegistryKey + '\' + RecentFilesRegKey);
    116116  LoadFromRegistry(Core.ApplicationInfo.GetRegistryContext);
     117
     118  TFormEx.ScaleDPI := ScaleDPI1;
     119  TFormEx.Translator := Translator;
     120  TFormEx.ThemeManager := ThemeManager;
     121  TFormEx.PersistentForm := PersistentForm1;
    117122
    118123  FormMain := TFormMain.Create(nil);
Note: See TracChangeset for help on using the changeset viewer.