Vcl.ComCtrls.TCustomListView.AlphaSort

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function AlphaSort: Boolean;

C++

bool __fastcall AlphaSort();

Properties

Type Visibility Source Unit Parent
function public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomListView

Description

Sorts the items in the list view.

Call AlphaSort to sort the items in the manner maintained automatically when the SortType property is not stNone. If an OnCompare event handler is assigned, AlphaSort uses that event handler to define the sort order. Otherwise, AlphaSort sorts all list items alphabetically in ascending order. If successful, the method returns true.

See Also

Code Examples