Vcl.StdCtrls.TCustomComboBox.Sorted

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Sorted: Boolean read FSorted write SetSorted default False;

C++

__property bool Sorted = {read=FSorted, write=SetSorted, default=0};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomComboBox

Description

Determines whether the list portion of the combo box is alphabetized.

Set Sorted to true to sort the items in the Items list alphabetically. New items added to the list while Sorted is true are inserted in the correct alphabetical position.

When Sorted is changed from false to true, the original order of the items is lost. Setting Sorted back to false does not restore the original order.

See Also


Code Examples