RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSetEdit Class

TDataSetEdit puts a target dataset into edit mode.

Pascal
TDataSetEdit = class(TDataSetAction);
C++
class TDataSetEdit : public TDataSetAction;

DBActns

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. 

 

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