Sorted Property
Applies To
ComboBox, ListBox
Description
Gets or sets a value indicating whether the items in the ComboBox or ListBox are sorted alphabetically.
Sorting order: Numeric character (regardless of whether one-byte or two byte), alphabetical character,
Katakana, Hiragana, Kanji character
Usage
GGet Form.Control.Sorted, var
GSet Form.Control.Sorted, value
- Form
- Name of a form or string variable containing a form name.
- Control
- Name of a control or string variable containing a control name. The control must exist in the specified form.
- var
- Boolean variable that will contain the value of the property.
- value
- Boolean expression for the new value of the property.
Values
False
True
Default: False
See Also
ComboBox, ListBox
Example
GSet frmMain.lstParts.Sorted, True