ListView.EnableSort Method | |
Register a user-defined method to use for sorting items in the list view.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD EnableSort(
symMethodName
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual EnableSort(
Usual symMethodName = default
)
Request Example
View SourceParameters
- symMethodName (Optional)
- Type: Usual
The symbolic name of the user-defined method that will be used to sort items in the list view. When called, this method receives two ListViewItem objects as arguments. The method should determine which of the two list view items should come first in the list view. If the first item precedes the second, this method should return -1; if the second item precedes the first, this method should return 1; if the items are equivalent, this method should return 0.
Return Value
Type:
Usual
The symbolic name of the user-defined method to perform the sort.
See Also