RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBNavigator.ConfirmDelete Property

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

Pascal
property ConfirmDelete: Boolean;
C++
__property Boolean ConfirmDelete;

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!