Delphi XE5 - strange behavior help needed
问题 I'm working on TLogger class that is logging my application logs to file... I have to way of getting Logs from File to TMemo: 1. assign TMemo to TLogger class then, assign True to DisplayInMemo property, then just call GetLogFromFile(); 2. call GetLogsFromFile(); then Self.Memo1.Text := TLogger.LogsResult; Below... Commented solution works fine... Uncommented solution works only every 2 click on button 4 procedure TForm1.Button4Click(Sender: TObject); // get log.file to memo begin //