Vcl.DBCtrls.TDBNavigator.ConfirmDelete

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ConfirmDelete: Boolean read FConfirmDelete write FConfirmDelete default True;

C++

__property bool ConfirmDelete = {read=FConfirmDelete, write=FConfirmDelete, default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TDBNavigator

Description

Determines whether a message box appears asking the user to confirm record deletions initiated using the database navigator.

Use the ConfirmDelete property to help prevent the user from accidentally deleting a record from the dataset.

If ConfirmDelete is true, a message box appears when the user presses the delete button and the record isn't deleted unless the user chooses the OK button. If ConfirmDelete is false, no message box appears and the record is simply deleted.

See Also