Second loading of textfile into TMemo has no effect

Issue #23 resolved
Former user created an issue

You can once load a text into a memo:

procedure TForm58.Button3Click(Sender: TObject); begin if od1.Execute then begin Memo1.lines.LoadFromFile(od1.FileName); end; end;

That's ok. But if you try again, to load an other file, it has no effect (even if you would use memo.clear before loading).

Comments (2)

  1. Harry Stahl

    Additional Info: It seems to be a problem of the TOpenDialog. After using it the second time, it delivers back the same filename.

  2. Log in to comment