FMX.Forms.TIdleEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TIdleEvent = procedure(Sender: TObject; var Done: Boolean) of object;

C++

typedef void __fastcall (__closure *TIdleEvent)(System::TObject* Sender, bool &Done);

Properties

Type Visibility Source Unit Parent
type
typedef
public
FMX.Forms.pas
FMX.Forms.hpp
FMX.Forms FMX.Forms

Description

TIdleEvent is the type of event handler that perform actions when the application is idle.

The TIdleEvent type is the type of the OnIdle event.

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.

See Also