Show: Delphi C++
Display Preferences

Data.DB.TCustomConnection.BeforeConnect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property BeforeConnect: TNotifyEvent read FBeforeConnect write FBeforeConnect;

C++

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

Properties

Type Visibility Source Unit Parent
event public
Data.DB.pas
Data.DB.hpp
Data.DB TCustomConnection

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

Personal tools
RAD Studio 10.2 Tokyo
In Other Languages
Previous Versions
Assistance