[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ValEdit' (#lcl)

TValueListEditor.DisplayOptions

Enables or disables display features and behaviors in the control.

Declaration

Source position: valedit.pas line 306

published property TValueListEditor.DisplayOptions : TDisplayOptions
  read FDisplayOptions
  write SetDisplayOptions
  default [doColumnTitles, doAutoColResize, doKeyColFixed];

Description

DisplayOptions is a TDisplayOptions property which enables or disables display features and behaviors in the control. DisplayOptions is a set type, and can store 0 (zero) or more TDisplayOption values. The default value for the property includes the following enumeration values:

doColumnTitles
Displays column titles
doAutoColResize
Automatically resizes column widths
doKeyColFixed
Displays the Key as a fixed caption column

Changing the value in DisplayOptions may cause updates to the RowCount and FixedRows properties; they are adjusted to reflect use of doColumnTitles in the property. In addition, the AutoFillColumns property is updated to reflect use of doAutoColResize in the property.

The value in DisplayOptions is updated when the value in FixedRows is changed.

See also

TValueListEditor.RowCount

  

Gets the number of rows for the control.

TDisplayOptions

  

Set type used to store TDisplayOption enumeration values.

TDisplayOption

  

Represents display capabilities in TValueListEditor.

TCustomDrawGrid.FixedRows

  

Number of the fixed rows in the grid.

TCustomDrawGrid.AutoFillColumns

  

Indicates whether columns are automatically resized to fill the visible area in the grid.


Version 4.0 Generated 2025-05-03 Home