TcxDBItemDataBinding.FieldName Property
Specifies the item’s field name.
Declaration
property FieldName: string read; write;
Property Value
Type |
---|
string |
Remarks
This property identifies the dataset field to which the current item is bound. This field itself can be accessed via the Field property.
When the FieldName property is assigned, the data field type determines the default editor used to edit the item’s content. The following table lists the default editors corresponding to field types. This correspondence is specified by the DBRepositoryItemClasses array declared in the cxEditDBRegisteredRepositoryItems unit:
Field type | Associated editor |
---|---|
ftBoolean | TcxCheckBox |
ftCurrency, ftBCD, ftFMTBcd | TcxCurrencyEdit |
ftDate, ftDateTime | TcxDateEdit |
ftTime | TcxTimeEdit |
ftBytes, ftVarBytes, ftBlob, ftFmtMemo, ftParadoxOle, ftDBaseOle, ftTypedBinary | TcxBlobEdit |
ftMemo | TcxMemo |
ftGraphic | TcxImage |
For fields not listed in the above table, the TcxMaskEdit is used.
If you need to change the default editor, use the column’s Properties or PropertiesClassName property.
See Also