Table of Contents

TTMSFNCListBoxItems.Sort Method

Sorts items alphabetically by text.

API unit family: TMSFNCListBox Declaring type: TTMSFNCListBoxItems

Syntax

procedure Sort(ACaseSensitive: Boolean = True; ASortingMode: TTMSFNCListBoxItemsSortMode = ismAscending);

Parameters

Name Description
ACaseSensitive When True, the sort is case-sensitive.
ASortingMode Sort direction — ascending or descending.