Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
からグローバル変数またはVCLにアクセスする場合TTimer、使用する必要がありますSynchronizeか?TThreadすでに同期を使用している、から同じ変数とオブジェクトを使用します。
TTimer
Synchronize
TThread
TTimerのOnTimerイベントは、メインスレッドの下で実行されます。そのイベント内でVCLへのアクセスを同期する必要はありません