Skip to main content
Table of Contents

TTMSFNCDataGridDatabaseAdapterColumn.AutoCreated Property

True when the adapter created this column automatically from the dataset field list rather than it being defined explicitly.

API unit family: TMSFNCDataGridDatabaseAdapter Declaring type: TTMSFNCDataGridDatabaseAdapterColumn Type: Boolean

Syntax

FMX.TMSFNCDataGridDatabaseAdapter.hppPascalC++
property AutoCreated: Boolean;
__property bool AutoCreated = {read=FAutoCreated, write=FAutoCreated, nodefault};

Remarks

The flag is streamed with the form. Columns with a FieldName that are not auto-created count as explicitly defined fields for TTMSFNCDataGridDatabaseAdapterColumns.HasFieldsDefined, which decides whether TTMSFNCCustomDataGridDatabaseAdapter.AutoRemoveColumns may clear the collection.