Data.DB.TCustomConnection.BeforeConnect

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

property BeforeConnect: TNotifyEvent read FBeforeConnect write FBeforeConnect;

C++

__property System::Classes::TNotifyEvent BeforeConnect = {read=FBeforeConnect, write=FBeforeConnect};

Description

Occurs immediately before establishing a connection.

Write a BeforeConnect event handler to take application-specific actions before the connection component opens a connection to the remote source of database information.

See Also