<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Peter,<br>
      <br>
      Have a look at the attached program.<br>
      <br>
      Charlie<br>
      <br>
      On 04/08/2019 09:55, Peter Peyotle wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:267a24bc-70b9-0888-2545-bd19c38d74bb@gmx.de">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <p><span class="tlid-translation translation" lang="en">hello and
          good day,<br>
          <br>
          I have a problem with the settings. At least in understanding.<br>
          I have a form with 2 classes. Class 1 and Class 2.<br>
          Each class has its own Settingsobject myClass.<br>
          Legend Settings objects refer to the same configuration file,
          for example: mySettings = New Settings (Application.Path &
          "/" & Application.Name & ".conf")<br>
          In class 2 the settings are written and saved: mySettings
          ["test / teststring"] = setString<br>
          mySettings.save<br>
          in class 1 the settings are read out.<br>
          In the upper window of the example, the text is entered and
          read via the button and output (see the example appendix).<br>
          If I enter "Hello" as the setting text, nothing is read at
          first.<br>
          I finish the application (or the class).<br>
          If I then enter another text, "Hello" will be read out. With
          another input, the next to last text is always read out.<br>
          I know that these are two different objects. But they access
          the same config file, in which the settings are saved, and yet
          they should read the stored values ​​correctly and not offset
          them.<br>
          Or is the text saved to the hard disk when the application
          exits? But with mySettings.save this should already have
          happened?<br>
          What did not I understand there?</span></p>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">
----[ Gambas mailing-list is hosted by <a class="moz-txt-link-freetext" href="https://www.hostsharing.net">https://www.hostsharing.net</a> ]----
</pre>
    </blockquote>
    <br>
  </body>
</html>