typedef void __fastcall (__closure *TIdleEvent)(System::TObject* Sender, bool &Done);
TIdleEvent is the type of event handler that perform actions when the application is idle.
Sender is the object that receives the event notification. Typically, this is the application object.
Done indicates whether the event handler has finished its background processing.
If the event handler exits when
Done is True, all action components are then given a chance to update themselves. When
Done is False, no action components in the application are allowed to update themselves when the event handler exits.