FMX.Forms.TApplication.DoIdle
Delphi
procedure DoIdle(var Done: Boolean);
C++
void __fastcall DoIdle(bool &Done);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Forms.pas FMX.Forms.hpp |
FMX.Forms | TApplication |
Description
Calls the OnIdle event handler and initializes processing of all actions in the FireMonkey application.
An application is idle when it is not processing code. For example, an application is idle when it is waiting for input from the user. DoIdle is fired in idle state on any user activity and on some timers.
DoIdle internally calls an OnIdle event handler, if one is assigned.
If the OnIdle event handler sets the Done
parameter to:
True
, then DoIdle initiates updating of actions whether immediately or by initiating an ActionUpdateDelay timer.False
, then DoIdle does not initiates any other activities.