JVCL Help:TJvCustomInspectorItem.OnCompare

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Event to compare items for sorting purposes.


Pascal

 TInspectorItemSortCompare = function (Item1, Item2: TJvCustomInspectorItem): Integer ofobject;
propertyOnCompare: TInspectorItemSortCompare;


Parameters

Parameters Description
Item2 Second inspector item to compare.
Item1 First inspector item to compare.


Description

OnCompare is the event that is called during sorting when SortKind = iskCustom. The result of the function should positive if Item1 > Item2, negative if Item1 < Item2 or 0 if Item1 = Item2.


See Also

TJvCustomInspectorItem.SortKind


About

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