[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'db' (#fcl)

TField.DisplayWidth

Width of the field in characters

Declaration

Source position: db.pas line 433

published property TField.DisplayWidth : LongInt
  read GetDisplayWidth
  write SetDisplayWidth
  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

TField.Alignment

  

Alignment for this field

TField.DisplayText

  

Formatted field value


Documentation generated on: Sep 28 2017