RAD Studio VCL Reference
|
Indicates what dataset adapter modes this field supports.
property FieldModes: TDataSetAdapterModes;
__property TDataSetAdapterModes FieldModes;
FieldModes is a set of all the modes in which this adapter field 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 to represent this field. Thus, for example, to make a field read-only, you can exclude amInsert and amEdit from FieldModes. Then, the field appears when the user is viewing or querying the dataset, but not when the user is editing or inserting a record.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|