RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapter.InDefaultMode Property

Indicates whether the dataset adapter is in its default mode.

Pascal
property InDefaultMode: Boolean;
C++
__property Boolean InDefaultMode;

A newly-created dataset adapter has InDefaultMode true, indicating that the Mode property has its default value (amBrowse). A dataset adapter in browse mode provides read-only access to the data in the corresponding dataset. 

Changing the Mode property sets InDefaultMode to false. Setting InDefaultMode to true restores the Mode property to amBrowse. 

 

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