Skip to main content
Table of Contents

TTMSFNCDataGridDatabaseAdapter.ShowBooleanFields Property

When True (default), ftBoolean fields are shown as check boxes. Set to False to show them as text.

API unit family: TMSFNCDataGridDatabaseAdapter Declaring type: TTMSFNCDataGridDatabaseAdapter Inherited from: TTMSFNCCustomDataGridDatabaseAdapter Type: Boolean

Syntax

FMX.TMSFNCDataGridDatabaseAdapter.hppPascalC++
property ShowBooleanFields: Boolean;
__property bool ShowBooleanFields = {read=FShowBooleanFields, write=SetShowBooleanFields, default=1};

Default: True

Remarks

Check box cells are not edited with a text editor. For booleans stored as text or numbers use TTMSFNCDataGridDatabaseAdapterColumn.CheckBoxField. Changing the value reloads the grid.