RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBDEDataSet.CompareBookmarks Method

Indicates the relationship between two bookmarks.

Pascal
function CompareBookmarks(Bookmark1: TBookmark; Bookmark2: TBookmark): Integer; override;
C++
virtual __fastcall int CompareBookmarks(TBookmark Bookmark1, TBookmark Bookmark2);

Call CompareBookmarks to determine if two bookmarks are identical. Bookmark1 and Bookmark2 are the bookmarks to compare.  

If the bookmarks differ, CompareBookmarks returns -1 if Bookmark1 is less than Bookmark2, 1 if Bookmark1 is greater than Bookmark2, and 0 if the bookmarks are identical, nil (Delphi), or NULL (C++) 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!