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

# TBookmarkList

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements a list of Bookmarks in a database grid.

## Declaration

Source position: dbgrids.pas line 160

`type TBookmarkList = class`
`public`
`constructor Create();` |  | Create is the constructor for TBookmarkList.
`destructor Destroy; override;` |  | Destroy is the destructor for TBookmarkList.
`procedure Clear;` |  | Clear removes all Items in the bookmark list.
`procedure Delete;` |  | Deletes rows in the Dataset represented by bookmarks in the list.
`function Find();` |  | Find locates the specified Bookmark and its position in the bookmark list.
`function IndexOf();` |  | IndexOf returns the ordinal position for the specified Bookmark in the list.
`function Refresh;` |  | Searches for and removes invalid Bookmarks in the list.
`function GetEnumerator();` |  | Gets an enumerator for the bookmark list.
`property Count: Integer; [r]` |  | Indicates the number of Bookmarks in the list.
`property CurrentRowSelected: Boolean; [rw]` |  | Indicates if the current row in the Dataset is selected.
`property Items []: TBookmark; default; [r]` |  | Provides indexed access to Bookmarks in the list.
`end;`

## Inheritance

`TBookmarkList` |  | Implements a list of Bookmarks in a database grid.
`TObject`

## Description

TBookmarkList is a class used to implement a list of Bookmarks in a database grid. TBookmarkList is the type used for the SelectedRows property in TCustomDBGrid and descendent classes.

## See also

TCustomDBGrid.SelectedRows |  | SelectedRows are the recorded rows in a bookmark list.
TDBGrid.SelectedRows |  | SelectedRows are the recorded rows in a bookmark list.