Hello
One option is to delete the section manually.
Code:
reg.DeleteKey(RegPropStorageManEh1.Path + '\' + PropStorageEh1.Section);
But after that, you need to cancel saving the settings
Code:
PropStorageEh1.Active := False;
so that when the form is closed, the old settings are not saved in the registry again.
After that, you need to re-open the Form.
Code:
procedure TForm1.Button1Click(Sender: TObject);
var
reg: TRegistry;
begin
reg := TRegistry.Create;
reg.RootKey := RegPropStorageManEh1.Key;
reg.DeleteKey(RegPropStorageManEh1.Path + '\' + PropStorageEh1.Section);
reg.Free;
PropStorageEh1.Active := False;
end;