TTMSFNCDataGridDatabaseAdapterColumn.CheckBoxField Property
When True, shows the field as a check box that is checked when the field's display text matches the grid column's boolean true value. Default is False.
API unit family: TMSFNCDataGridDatabaseAdapter
Declaring type: TTMSFNCDataGridDatabaseAdapterColumn
Type: Boolean
Syntax
property CheckBoxField: Boolean;
__property bool CheckBoxField = {read=FCheckBoxField, write=SetCheckBoxField, default=0};
Default: false
Remarks
Use this for fields that store a boolean as text or a number (for example 'Y'/'N'); the comparison is case-insensitive against GridColumn.Binding.BooleanTrueValue. When a check box value is written back to the dataset, the field receives BooleanTrueValue or BooleanFalseValue. Native ftBoolean fields do not need this flag when TTMSFNCCustomDataGridDatabaseAdapter.ShowBooleanFields is True.
Text editing is disabled for the column while this is True. Changing the value refreshes the grid.
Exceptions
| Exception | Description |
|---|---|
Exception |
Raised when set to True while PictureField or ProgressField is True. |