FMX.Forms.TApplication.OnIdle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnIdle: TIdleEvent read FOnIdle write FOnIdle;

C++

__property TIdleEvent OnIdle = {read=FOnIdle, write=FOnIdle};

Properties

Type Visibility Source Unit Parent
event public
FMX.Forms.pas
FMX.Forms.hpp
FMX.Forms TApplication

Description

The OnIdle event handler is called from the DoIdle method when a FireMonkey application becomes idle.

Write the OnIdle event handler to perform special processing when a FireMonkey application becomes idle. 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.

OnIdle is called only once, as the application proceeds into an idle state.

If the OnIdle event handler sets its Done parameter (see TIdleEvent) to False, then DoIdle does not initiates any updating of actions in an application.

See Also