TDataSetDelete = class(TDataSetAction)
class PASCALIMPLEMENTATION TDataSetDelete : public TDataSetAction
TDataSetDelete deletes the current record, making the next record current.
Add TDataSetDelete to an action list to allow users to delete records from a dataset. Controls such as menu items and tool buttons linked to this action cause the application to delete the current record of a dataset.
TDataSetDelete is designed to work with a TDataSource component as its target. You can explicitly provide this target by setting the DataSource property, or you can allow the action to infer the data source from an active data-aware control. TDataSetDelete automatically disables itself if it does not have a target data source attached to an active, nonempty dataset that permits edits.