Vcl.ValEdit.TDisplayOptions
Delphi
type TDisplayOptions = set of TDisplayOption;
C++
typedef System::Set<TDisplayOption, TDisplayOption::doColumnTitles, TDisplayOption::doKeyColFixed> TDisplayOptions;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
set typedef |
public | Vcl.ValEdit.pas Vcl.ValEdit.hpp |
Vcl.ValEdit | Vcl.ValEdit |
Description
TDisplayOptions and TDisplayOption control the appearance of a value list editor.
TDisplayOptions is a set of TDisplayOption values. The following table lists the possible values of TDisplayOption.
Option | Meaning |
---|---|
doColumnTitles |
The first row of the value list editor is a fixed (nonscrolling) row that displays the captions specified by the TitleCaptions property. |
doAutoColResize |
When the editor is resized, the column widths automatically adjust so that they completely fill the new width of the editor. If DisplayOptions does not include doKeyColFixed, each column has a width equal to half the width of the editor. Otherwise, the value column takes up any space left over after the fixed (key) column. |
doKeyColFixed |
The first (key) column of the value list editor is fixed in width. When the value list editor is resized, only the second (value) column resizes. This option is only used when DisplayOptions includes doAutoColResize. |