Compares two bookmarks.
function CompareBookmarks(Bookmark1: TBookmark; Bookmark2: TBookmark): Integer; override;
virtual __fastcall int CompareBookmarks(TBookmark Bookmark1, TBookmark Bookmark2);
Call CompareBookmarks to compare one bookmark to another. CompareBookmarks returns an integer value indicating the difference between the two bookmarks. CompareBookmarks returns a 0 (zero) if the two bookmarks are the same, a -1 (negative one) if bookmark one is less than bookmark two, or a 1 (positive one) if bookmark one is greater than bookmark two. CompareBookmarks also returns a zero if one of the two bookmarks is nil (Delphi) or NULL (C++).
Bookmark1 and Bookmark2 are the two TBookmark values to compare.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!