Sort

[property icon] Sort

Automatically sorts strings as they are added to the list

Read-only This is a style property that is only available in the forms designer. It is possible to modify this programmatically through the Style property in the Create event.

Applies to: ComboBox , List Box


>

Sort

If set to TRUE KCML will sort the strings alphabetically as they are added to a list box or KCML edit dropdown otherwise they appear in the list in the order they were added (index order). This property is a design time only property that has no effect if changed under program control.

The forms designer will create list and combo boxes with the sort property set to TRUE as the default.

The dropdown listbox in a KCML edit control has a similar SortedListBox property which defaults to FALSE.

See also

ComboBox methods, properties and events. List Box methods, properties and events.