RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ComCtrls.TSortType Enumeration

TSortType indicates the criteria to use when sorting items.

Pascal
TSortType = (
  stNone,
  stData,
  stText,
  stBoth
);
C++
enum TSortType {
  stNone,
  stData,
  stText,
  stBoth
};

ComCtrls

Value 
Meaning 
stNone  
No sorting is done.  
stData  
Items are sorted based on their Data property. An event handler must be provided to compare Data values.  
stText  
Items are sorted based on their Caption property.  
stBoth  
Items are sorted based on both the Data and Caption. The Data values are ignored unless an event handler is provided to compare them.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!