Sorted Properties

Determines if a list is automatically sorted alphabetically.  Read only at run time.


Syntax

object.RLSorted [=value]
object.LLSorted [=value]

The syntax of the Sorted properties has these parts:

PartDescription
objectA DCombo control.
value  A boolean expression that determines if the control is automatically sorted (True), or items added to the list remain in the order they were added (False).

Remarks

You can specify that items be added to a list in alphabetical order by setting the Sorted property to True and omitting the index argument in an AddItem method. The sort is not case-sensitive; thus, the words "budweiser" and "Budweiser" are treated the same.

When the Sorted property is set to True, using the AddItem methods with the index argument can lead to unpredictable, unsorted results.

Data Type

Boolean