procedure TMyForm.MyNavigatorBeforeAction(Sender: TObject;
Button: TDBNavButtonType);
begin
if Button=nbDelete then
begin
{...controlli...}
if [condizione in base ai controlli] then
begin
MessageDlg('Error','Eliminazione annuata.', mtError, [mbOK], 0);
SysUtils.Abort;
end;
end;
end;