TcxValueType.Caption Method
Returns the value type’s name.
#Declaration
class function Caption: string; virtual;
#Returns
Type | Description |
---|---|
string | The value type’s name. The |
#Remarks
You can assign the caption of a TcxValueType class descendant to the TdxStorageItemCustomDataBinding.ValueType property to select the corresponding value type. The following table lists all value type classes and the corresponding captions:
Value |
Value |
TField |
Description |
---|---|---|---|
'String' |
Tcx |
ft |
Unicode string values. |
'Wide |
Tcx |
ft |
Wide string values. |
'Smallint' |
Tcx |
ft |
16-bit signed integer values. |
'Integer' |
Tcx |
ft |
32-bit signed integer values. |
'Word' |
Tcx |
ft |
16-bit unsigned integer values. |
'Boolean' |
Tcx |
ft |
Boolean values. |
'Single' |
Tcx |
ft |
Single precision floating-point values. |
'Float' |
Tcx |
ft |
Double precision floating-point values. |
'Currency' |
Tcx |
ft |
Monetary values. |
'Date |
Tcx |
ft |
Date and time values. |
'Large |
Tcx |
ft |
64-bit signed integer values. |
'FMTBcd' |
Tcx |
ft |
Binary-encoded decimal values that can be converted to Currency without a loss of precision. |
'SQLTime |
Tcx |
ft [4] |
High-precision date and time values. |
'Variant' |
Tcx |
ft |
Values of any type. |
'BLOB' [5] |
Tcx |
fs |
BLOBs (Binary Large OBjects) as values. BLOB values are most often used for storing files in a database. |
'Object' [6] |
Tcx |
ft |
Values that store non-visual objects (TObject descendant instances) with arbitrary data for an unbound editor or Data Grid item. |
-
The ValueType property setter updates the ValueTypeClass property according to the assigned value.
-
The ValueTypeClass property setter updates the ValueType property according to the assigned value.
-
This column lists the corresponding TFieldType values.
-
'SQLTimeStamp'
also corresponds to the TSQLTimeStamp type. -
Use this value type with those controls and editors that support BLOB.
-
Use this type only in custom or inherited components because DevExpress and standard VCL components have no information on actual content of such values.