Changeset 191 for branches/generator/UCore.pas
- Timestamp:
- May 17, 2019, 12:02:45 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/generator/UCore.pas
r167 r191 7 7 uses 8 8 Classes, SysUtils, XMLConf, FileUtil, Controls, ActnList, UGrammer, 9 UPersistentForm, ULastOpenedList, UApplicationInfo ;9 UPersistentForm, ULastOpenedList, UApplicationInfo, UCoolTranslator; 10 10 11 11 type … … 15 15 TCore = class(TDataModule) 16 16 ApplicationInfo1: TApplicationInfo; 17 CoolTranslator1: TCoolTranslator; 17 18 ImageList1: TImageList; 18 19 PersistentForm1: TPersistentForm; … … 57 58 with XMLConfig1 do begin 58 59 ReopenLastFile := GetValue('ReopenLastFile', True); 60 CoolTranslator1.Language := CoolTranslator1.Languages.SearchByCode(String(GetValue('Language', ''))); 59 61 end; 60 62 end; … … 64 66 with XMLConfig1 do begin 65 67 SetValue('ReopenLastFile', ReopenLastFile); 68 SetValue('Language', WideString(CoolTranslator1.Language.Code)); 66 69 Flush; 67 70 end;
Note:
See TracChangeset
for help on using the changeset viewer.