Data.DB.TConnectChangeEvent
C++
typedef void __fastcall (__closure *TConnectChangeEvent)(System::TObject* Sender, bool Connecting);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
typedef | public | 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).