[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'EditBtn' (#lcl)

# TCustomControlFilterEdit.IdleConnected

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

## Declaration

Source position: editbtn.pas line 282

`public property TCustomControlFilterEdit.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

TCustomControlFilterEdit.Filter |  | Contains the textual used to select the visible items in the associated control.
TCustomControlFilterEdit.InvalidateFilter |  | Sets flags and property to indicate that the filter must be reapplied for the control.
Application |  | The TApplication singleton.
TApplication.QueueAsyncCall |  | Inserts an asynchronous call into the queue.
TApplication.RemoveAsyncCalls |  | Removes all calls added via QueueAsyncCall.