[Overview][Constants][Types][Classes][Procedures and functions][Index] |
IndexOf returns the ordinal position for the specifed Bookmark in the list
Source position: dbgrids.pas line 183
public function TBookmarkList.IndexOf( |
const Item: TBookmark |
):Integer; |
Item |
|
Bookmark to find in the list |
Position in the list for the bookmark
IndexOf is an Integer function used to get the ordinal position in the list for the specifed Bookmark. The return value contains the position in the list where the TBookmark instance was located. IndexOf calls Find to locate the bookmark and to capture the return value for the method. The return value is in the range 0..Count-1 when the bookmark exists in the list or -1 when the bookmark is not found.
lazarus-ccr.sourceforge.net |