BeforeKill event

Applies To
TQDB, TQDBItem, TQDBView

Declaration
property BeforeKill : TConfirmEvent;

Description
When the Kill method is executed the BeforeKill event is triggered before any drastic action is taken.

A handler for this event can present a confirmation request to the user to ensure the database isn't destroyed by accident. Such a handler passes a boolean true/false in the TConfirmEvent's OK parameter.

N.B.: For safety's sake if no handler for this event is assigned it will appear that Kill is not functioning.