ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellControls.TJamShellListItem.Compare

Compares a given TJamFileListItem with this item based on the current TJamShellList.SortColumn.

Syntax
Pascal
function Compare(pItem2: TJamCheckableListItem): Integer; override; overload;
Parameters 
Description 
pItem2: TJamCheckableListItem 
The item that should be compared to this item. 

Integer: 0 if both are equal, a value larger than 0 if pItem2 is larger than this instance, a value smaller than 0 otherwise.