Note: ◼LoadProperties should be used in tandem with SaveProperties ◼LoadProperties is a helper method. You will need to add iexRegistryFunctions to your uses clause to access the method
procedure TMainForm.FormCreate(Sender: TObject); begin // Load settings of our ImageEnView from the registry ImageEnView1.LoadProperties('Software\MyCompany\MySoftware'); end;
procedure TMainForm.FormClose(Sender: TObject; var Action: TCloseAction); begin // Save settings of our ImageEnView to the registry ImageEnView1.SaveProperties('Software\MyCompany\MySoftware'); end;