When a Delphi timer executes, is it not in the main thread?
procedure TMainForm.MyTimerTimer(Sender: TObject);
begin
MyModalDialog.StatusText.BeginUpdate;
MyModalDialog.StatusText.Text := 'timer fired...';
MyModalDialog.StatusText.EndUpdate;
end;
I am wondering if crashes here are due to updating the GUI elements outside of the main thread.