Skip to content

TField.DisplayWidth

Width of the field in characters.

Declaration

Source position: db.pas line 478

published property DisplayWidth: LongInt stored IsDisplayWidthStored;

Description

DisplayWidth is the width (in characters) that should be used by controls that display the contents of the field (such as in grids or lookup lists). It is initialized to a default value for most fields (e.g. it equals Size for string fields) but can be modified to obtain a more appropriate value for the field's expected content.

See also

Name Description
TField.Alignment Alignment for this field.
TField.DisplayText Formatted field value.