RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Types.EqualRect Function

Indicates whether two TRect values are the same.

Pascal
function EqualRect(const R1: TRect; const R2: TRect): Boolean;
C++
Boolean EqualRect(const TRect R1, const TRect R2);

Call EqualRect to compare two TRect values. EqualRect returns true if R1 and R2 are identical (same position and size), false if they are different. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!