Data.DB.TBlobDisplayValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

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:

  • 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