Sign in Join
FPDoc Onlineexperiment

TCustomControlFilterEdit.IdleConnected property

Member of TCustomControlFilterEditpublicIn unit EditBtn

Indicates if the asynchronous event handler routine is enabled for the Application.

Declaration

pascal
property IdleConnected: Boolean read fIdleConnected write SetIdleConnected;

Description

IdleConnected is a Boolean property which indicates if the asynchronous event handler routine is enabled for the Application singleton. When set to True, the Filter in the control will be applied when the application is in an idle state.

Changing the value for the property causes the handler routine to be queued or dequeued as an asynchronous method call for the Application. When set to True, the TApplication.QueueAsyncCall method is called to enqueue the asynchronous event handler routine. Otherwise, the Application.RemoveAsyncCalls is called to remove any pending asynchronous methods.

IdleConnected is set to True in the InvalidateFilter method.

IdleConnected is set to False in the asynchronous event handler routine after the Filter has been applied for the control.

The default value for the property is False.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.