TCustomConnection.BeforeDisconnect property
Event triggered before a connection is closed.
Declaration
property BeforeDisconnect: TNotifyEvent read FBeforeDisconnect write SetBeforeDisconnect;Description
BeforeDisConnect is called before a connection is closed in
Close.
It can be used for instance to check for unsaved changes, to save those changes, or to abort the disconnect
operation: if an exception is raised during the event handler, the disconnect operation is aborted entirely.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
