|
|
|
|
Sorted (Property) In french: Triée
Sorted is used to: - Determine if a control is sorted.
- Sort a control.
Remarks: - The Sorted option is used to sort the elements in the List Box or Combo Box control when it is displayed. If the control is sorted, the elements will be added (ListAdd) taking the sort into account (elements will be actually inserted).
- For the ListView controls, the sort is performed according to the captions of the elements.
- This option can be chosen in the window or page editor in the control description ("Details" tab, "Sorted list" option).
ListAdd(LIST_List1, "CC") ListAdd(LIST_List1, "DD") ListAdd(LIST_List1, "BB") LIST_List1.Sorted = True // The order in the List Box control becomes BB, CC, DD ListAdd(LIST_List1, "AA") // Will be inserted at the beginning of the list
Syntax
Determining if a control is sorted Hide the details
<Result> = <Control used>.Sorted
<Result>: Boolean - True if the specified control is sorted,
- False otherwise.
<Control used>: Control name Name of the control to be used: - Name of the List Box or ListView control.
- Name of the Combo Box control.
Name of Image, Clickable Image or Thumbnail control with automatic scroll.
<Control used>: Control name Name of the control to sort: Name of the List Box or ListView control. Name of the Combo Box control. Name of Image, Clickable Image or Thumbnail control with automatic scroll.
<To sort>: Boolean - True if the specified control must be sorted,
- False otherwise.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|