Sort Alphabetically

Determines whether the items in this widget are sorted alphabetically when displayed at run time. True or False (default)

Value

Description

True

Items are sorted alphabetically by each item's representation. Natural language sorting is used.

False

Items are presented in the order defined in the ValRep list

Dynamic?

No

Supported in Grid?

No

Dependencies:

None

Description

This property is static and cannot be set in ProcScript.

Sorting in Windows

For example, given a ValRep list, users would get the following results if they entered

ab
into a list box in Microsoft Windows:

a=abe;b=barry;c=carob;d=baguette
  • If Sort Alphabetically is True, abe would be selected, because the search is based on the entire string entered by the user.

  • If Sort Alphabetically is False, barry would be selected, because the search is based exclusively on the last character entered by the user. If the user entered ‘b’ again, the selection would jump to baguette, as that is the next list item matching the user’s input.

This behavior is specific to Microsoft Windows and can differ on other platforms.