Sign in Join
FPDoc Onlineexperiment

CompareExpandedNodes function

In unit ComCtrls

Function to compare the node text in two tree nodes.

Declaration

pascal
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 as the result from ANSICompareText. For example:

-1
The nodetext from the first node is lower than the nodetext from the second.
0
The nodetext values from both nodes are equal.
1
The nodetext from the first node is higher than the nodetext from the second.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.