Vcl.ValEdit.TDisplayOption
Delphi
TDisplayOption = (doColumnTitles, doAutoColResize, doKeyColFixed);
C++
enum DECLSPEC_DENUM TDisplayOption : unsigned char { doColumnTitles, doAutoColResize, doKeyColFixed };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | Vcl.ValEdit.pas Vcl.ValEdit.hpp |
Vcl.ValEdit | Vcl.ValEdit |
Description
TDisplayOption and TDisplayOptions control the appearance of a value list editor.
TDisplayOptions is a set of TDisplayOption values. The possible values of TDisplayOption are listed in the following table.
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. |