Author: h.mohri
C++Builder 10.2 BCC32 can not write lambda.
So write an implementation in Invoke() with TCppInterfacedObject<>.
[crayon-6a2d9b39d2e09985990135/]
Event prepared for calling with TThread::Synchronize().
[crayon-6a2d9b39d2e0f047478791/]
Call TThread::CreateAnonymousThread() with a TButton event.
Place the TButton and TActivityIndicator
[crayon-6a2d9b39d2e11605992639/]
Build execution.
When you click the Button1, until the thread is finished "ActivityIndicator1->Animate = true";

