Fmx.Bind.Navigator.TCustomBindNavigator.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 public
Fmx.Bind.Navigator.pas
Fmx.Bind.Navigator.hpp
Fmx.Bind.Navigator TCustomBindNavigator

Description

Determines whether a message box appears asking you 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 set to True, a message box appears when the user presses the delete button and the record is not deleted unless the user chooses the OK button. If ConfirmDelete is set to False, no message box appears and the record is simply deleted.

See Also