Changeset 169 for trunk/Forms/UFormMain.pas
- Timestamp:
- Jan 22, 2018, 11:00:53 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.pas
r166 r169 700 700 procedure TFormMain.LoadConfig; 701 701 begin 702 RegistryContext := RegContext(HKEY_CURRENT_USER, DefaultRegKey);702 RegistryContext := TRegistryContext.Create(HKEY_CURRENT_USER, DefaultRegKey); 703 703 Core.PersistentForm1.RegistryContext := RegistryContext; 704 RegistryContext := RegContext(HKEY_CURRENT_USER, DefaultRegKey + '\RecentFiles');704 RegistryContext := TRegistryContext.Create(HKEY_CURRENT_USER, DefaultRegKey + '\RecentFiles'); 705 705 LastOpenedList1.LoadFromRegistry(RegistryContext); 706 706 … … 737 737 procedure TFormMain.SaveConfig; 738 738 begin 739 RegistryContext := RegContext(HKEY_CURRENT_USER, DefaultRegKey + '\RecentFiles');739 RegistryContext := TRegistryContext.Create(HKEY_CURRENT_USER, DefaultRegKey + '\RecentFiles'); 740 740 LastOpenedList1.SaveToRegistry(RegistryContext); 741 741
Note:
See TracChangeset
for help on using the changeset viewer.