JCL Help:TWideStringList.Sorted

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Specifies whether the strings in the list should be sorted.


Pascal

 public property Sorted: Boolean;


Description

Setting sorted to True causes the strings in the list to be sorted in ascending order. Using Add to insert a string into a sorted list automatically inserts it at the appropriate position. Setting sorted to False will enforce no ordering on the strings in the list. You can use the Insert method to insert items into an unsorted list at an arbitrary position or Add to add a string to the end of the list.


About

Donator

Mike Lischke


Notes

Do not use Insert to add an item into a sorted list. The order of the strings in a sorted list is determined using the Language property.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page