RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ValEdit.TDisplayOptions Type

TDisplayOptions and TDisplayOption control the appearance of a value list editor.

Pascal
TDisplayOptions = set of TDisplayOption;
C++
TDisplayOption TDisplayOptions;

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.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!