RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TItemProp.EditStyle Property

Determines whether the cell that contains the associated value has a drop-down arrow or ellipsis button.

Pascal
property EditStyle: TEditStyle;
C++
__property TEditStyle EditStyle;

Set EditStyle to specify whether the cell in the value list editor that contains the associated value should allow users to drop down a pick list or to launch a dialog to edit the value. 

When EditStyle is esSimple, the value cell is a simple edit box that lets users edit the associated value directly (unless the ReadOnly property is true). 

When EditStyle is esEllipsis, the value cell contains an ellipsis button that users can click to generate an OnEditButtonClick event. Typically, applications use this event to launch a dialog that edits the value. 

When EditStyle is esPickList, the value cell contains a drop-down arrow that users can click to display a list of values from which to select. This value must be supplied by the PickList property or in an OnGetPickList event handler (or supplied by the PickList property and modified in an OnGetPickList event handler). 

 

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