Data.DB.TConnectChangeEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
type
typedef
public
Data.DB.pas
Data.DB.hpp
Data.DB Data.DB

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