Description: | Determines whether ListItem objects are sorted in text or numerical order. | |
Used in control(s): | ListView | |
Values (with constants): | 0 - Text(POW-SORTKIND-TEXT) For example, assume that there are three ListItem objects and their Text properties are set to "1", "2", and "10": If the value is "0 - Text", the ascending order is "1", "10", "2". If the value is "1 - Numeric", the ascending order is "1", "2", "10". Note that: The objects are not sorted immediately after this value is changed, however the objects are sorted after the value of the SortOrder property is changed. If the value is "1 - Numeric" the sort order is determined by using equivalent VT_CY values. If a numeric value cannot be converted to a VT_CY value, (see "Appendix C. Data Types" for supported range) the ListItem object is not sorted and the position is undefined. | |
Default value: | 0 - Text | |
COBOL picture: | S9(4) COMP-5 | |
OLE data type: | VT_I2 | |
Design time access: | Set and reference. | |
Execution time access: | Set and reference. | |
Backward compatibility attribute: | None. |