TCustomConnection.BeforeConnect property
Event triggered before a connection is made.
Declaration
property BeforeConnect: TNotifyEvent read FBeforeConnect write SetBeforeConnect;Description
BeforeConnect is called before a connection is attempted in
Open. It can be used to set connection parameters, or to abort the
establishing of the connection: if an exception is raised during this event, the connection attempt is aborted.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
