[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'DBGrids' (#lcl)

TBookmarkList.Find

Find locates the specified Bookmark and its position in the list

Declaration

Source position: dbgrids.pas line 182

public function TBookmarkList.Find(

  const Item: TBookmark;

  var AIndex: Integer

):Boolean;

Arguments

Item

  

Bookmark to locate

AIndex

  

Position in the list for the bookmark

Function result

True when the bookmark is located in the list

Description

Find is a Boolean function used to locate the specified bookmark in the Items for the bookmark list. AIndex contains the position in the list where the bookmark was located. The return value is True when the specified bookmark is located in the bookmark list.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.