Ignore:
Timestamp:
Jun 5, 2023, 8:45:38 PM (18 months ago)
Author:
chronos
Message:
  • Modified: Remove U prefix from unit names.
File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Forms/FormProperties.pas

    r148 r149  
    1 unit UFormProperties;
     1unit FormProperties;
    22
    33interface
     
    7676  end;
    7777
    78 var
    79   FormProperties: TFormProperties;
    80 
    8178
    8279implementation
     
    8582
    8683uses
    87   UFormProperty, UCore, Common;
     84  FormProperty, Core, Common;
    8885
    8986resourcestring
     
    207204procedure TFormProperties.FormShow(Sender: TObject);
    208205begin
    209   Core.PersistentForm1.Load(Self);
     206  Core.Core.PersistentForm1.Load(Self);
    210207  ReloadList;
    211208  UpdateInterface;
     
    269266    OpenDialog1.Filter := STextFiles + '|*' + TextFileExt + '|' + SAllFiles + '|*.*';
    270267    OpenDialog1.DefaultExt := TextFileExt;
    271     OpenDialog1.InitialDir := ExtractFileDir(Core.LastPropertyValueFileName);
    272     OpenDialog1.FileName := ExtractFileName(Core.LastPropertyValueFileName);
     268    OpenDialog1.InitialDir := ExtractFileDir(Core.Core.LastPropertyValueFileName);
     269    OpenDialog1.FileName := ExtractFileName(Core.Core.LastPropertyValueFileName);
    273270    if OpenDialog1.Execute then begin
    274271      TContactProperty(ListView1.Selected.Data).Value := LoadFileToStr(OpenDialog1.FileName);
    275       Core.LastPropertyValueFileName := OpenDialog1.FileName;
     272      Core.Core.LastPropertyValueFileName := OpenDialog1.FileName;
    276273      ReloadList;
    277274    end;
     
    324321    SaveDialog1.Filter := STextFiles + '|*' + TextFileExt + '|' + SAllFiles + '|*.*';
    325322    SaveDialog1.DefaultExt := TextFileExt;
    326     SaveDialog1.InitialDir := ExtractFileDir(Core.LastPropertyValueFileName);
     323    SaveDialog1.InitialDir := ExtractFileDir(Core.Core.LastPropertyValueFileName);
    327324    SaveDialog1.FileName := SValue + TextFileExt;
    328325    if SaveDialog1.Execute then begin
    329326      SaveStringToFile(TContactProperty(ListView1.Selected.Data).Value, SaveDialog1.FileName);
    330       Core.LastPropertyValueFileName := SaveDialog1.FileName;
     327      Core.Core.LastPropertyValueFileName := SaveDialog1.FileName;
    331328    end;
    332329  end;
     
    342339  );
    343340begin
    344   Core.PersistentForm1.Save(Self);
     341  Core.Core.PersistentForm1.Save(Self);
    345342end;
    346343
     
    349346  I: Integer;
    350347begin
    351   Core.Translator.TranslateComponentRecursive(Self);
    352   Core.ThemeManager1.UseTheme(Self);
     348  Core.Core.Translator.TranslateComponentRecursive(Self);
     349  Core.Core.ThemeManager1.UseTheme(Self);
    353350
    354351  FProperties := nil;
Note: See TracChangeset for help on using the changeset viewer.