TDataSetEdit = class(TDataSetAction)
class PASCALIMPLEMENTATION TDataSetEdit : public TDataSetAction
TDataSetEdit puts a target dataset into edit mode.
Add TDataSetEdit to an action list to allow users to put a dataset into edit mode. Controls such as menu items and tool buttons linked to this action cause the application to put a dataset into edit mode if it can.
TDataSetEdit 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. TDataSetEdit automatically disables itself if it does not have a target data source attached to a dataset that permits edits.