Data.DB.TBlobDisplayValue

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: enum
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: Data.DB

Delphi

TBlobDisplayValue = (dvDefault, dvClass, dvFull, dvClip, dvFit, dvFullText);

C++

enum DECLSPEC_DENUM TBlobDisplayValue : unsigned char { dvDefault, dvClass, dvFull, dvClip, dvFit, dvFullText };

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:

  • dvClass (default): shows class name in the display and edit modes.
  • dvFull: shows full text in the display and edit modes.
  • dvClip:
    • in the display mode, shows either full text or clipped text with '...' when the text length exceeds TField.DisplayWidth
    • in the edit mode, 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, shows full text.

See Also