Data.DB.TBlobDisplayValue
Delphi
TBlobDisplayValue = (dvDefault, dvClass, dvFull, dvClip, dvFit, dvFullText);
C++
enum DECLSPEC_DENUM TBlobDisplayValue : unsigned char { dvDefault, dvClass, dvFull, dvClip, dvFit, dvFullText };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | Data.DB.pas Data.DB.hpp |
Data.DB | Data.DB |
Description
Defines an enumeration used to control the behavior of TBlobField in the DB-aware controls (such as TDBGrid or TDBEdit).
The value of the TBlobField.DisplayValue property specifies a behavior of TBlobField.DisplayText and TBlobField.Text properties.
This enumeration defines the following values that you can assign to the TBlobField.DisplayValue property:
dvDefault
: The class will use the setting inherited from TFieldOptions.BlobDisplayValue. If this is dvDefault, the value used is the one inherited from DefaultBlobDisplayValue.dvClass
: Shows the class name in the display and edit modes.dvFull
: Shows full text in the display and edit modes.dvClip
:- In the display mode, it shows either full text or clipped text with '...' when the text length exceeds TField.DisplayWidth.
- In the edit mode, it shows full text.
dvFit
:- In the display mode, shows either full text or class name when the text length exceeds TField.DisplayWidth.
- In the edit mode, it shows full text.
dvFullText
: Show field value text for ftMemo or ftWideMemo; otherwise it will show the class name.