[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

CompareExpandedNodes

Function to compare the node text of two nodes.

Declaration

Source position: comctrls.pp line 3034

function CompareExpandedNodes(

  Data1: Pointer;

  Data2: Pointer

):Integer;

Description

This function does an ANSICompare on the NodeText of two nodes. The parameters Data1 and Data2 are pointers to the nodes to be compared. The result is the same is the result from ANSICompareText.

-1: The nodetext from the first node is lower then the nodetext from the second.

0: The nodetext-s from both nodes are equal.

1: The nodetext from the first node is higher then the nodetext from the second.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.