Data.DB.TConnectChangeEvent

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
type
typedef
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: Data.DB

Delphi

TConnectChangeEvent = procedure(Sender: TObject; Connecting: Boolean) of object;

C++

typedef void __fastcall (__closure *TConnectChangeEvent)(System::TObject* Sender, bool Connecting);

Description

Type of function called when connection changes.

TConnectChangeEvent is the type of function that is called whenever the connection state changes for TCustomConnection.

Sender is the connection object that has just established a connection or is about to terminate a connection.

Connecting indicates whether the connection is established (true) or ending (false).

See Also