API:Vcl.StdCtrls.TComboBox.Sorted

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Sorted: Boolean read FSorted write SetSorted default 0;

C++

__property Sorted = {default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TComboBox

Description

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

Vcl.StdCtrls.TComboBox.Sorted inherits from Vcl.StdCtrls.TCustomComboBox.Sorted. All content below this line refers to Vcl.StdCtrls.TCustomComboBox.Sorted.

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