Vcl.DBActns.TDataSetEdit

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.DBActns.TDataSetActionVcl.ActnList.TActionVcl.ActnList.TCustomActionSystem.Actions.TContainedActionSystem.Classes.TBasicActionSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTDataSetEdit

Delphi

TDataSetEdit = class(TDataSetAction)

C++

class PASCALIMPLEMENTATION TDataSetEdit : public TDataSetAction

Properties

Type Visibility Source Unit Parent
class public
Vcl.DBActns.pas
Vcl.DBActns.hpp
Vcl.DBActns Vcl.DBActns

Description

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.

See Also