RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSetAdapterNewRowAction.ActionModes Property

Indicates what dataset adapter modes this field supports.

Pascal
property ActionModes: TDataSetAdapterModes;
C++
__property TDataSetAdapterModes ActionModes;

ActionModes is a set of all the modes in which this adapter action can be used. If the parent dataset adapter is in a mode that is not included in this set, any forms generated using that adapter do not include a control for executing this action. Thus, for example, there is no sense in adding a control that applies edits to a form that presents a read-only view of the data. An apply action, then, should not include amBrowse in its action modes. 

 

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