[Overview][Classes][Procedures and functions][Index] |
Determines whether the specified method instances contain the same code and data.
Source position: lazmethodlist.pas line 68
function CompareMethods( |
const m1: TMethod; |
const m2: TMethod |
):Boolean; |
m1 |
|
Method for the comparison. |
m2 |
|
Another method for the comparison. |
True when the compared methods share the same code and data.
CompareMethods is a Boolean function used to compare the specified methods. m1 and m2 are TMethod parameters with the values compared in the function. The comparison examines the Code and Data members in the TMethod records. The return value is True when the Code and Data members are identical in both records.
Remark: | CompareMethods has been deprecated in LCL version 2.3, and will be removed in version 2.5. Use the SameMethod routine instead. |
Deprecated in LCL version 2.3. Use the SameMethod routine instead.
|
Determines whether the specified method instances contain the same code and data. |
|
|
Gets the position where the specified method is stored in the list. |
Version 4.0 | Generated 2025-05-03 | Home |