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

# TBookmarkList

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

TBookmarkList - a list of Bookmarks in a DataBase Grid

## Declaration

Source position: dbgrids.pas line 120

`type TBookmarkList = class`
`public`
`constructor Create();` |  | Create - constructor for TBookmarkList: calls inherited Create, attaches Grid and initialises list
`destructor Destroy; override;` |  | Destroy - destructor for TBookmarkList: clears and frees the list then calls inherited Destroy
`procedure Clear;` |  | Clear the list of Bookmarks
`procedure Delete;` |  | Delete the Bookmarks from the list one by one
`function Find();` |  | Find the nominated Bookmark string, returning its index; result (boolean) is True if successful
`function IndexOf();` |  | IndexOf - returns the index of the nominated Bookmark string
`function Refresh;` |  | Refresh - searches for any invalid Bookmarks, which it removes: returns True if the action was successful
`property Count: Integer; [r]` |  | Count - the number of Bookmarks in the list
`property CurrentRowSelected: Boolean; [rw]` |  | CurrentRowSelected - True if the current row is selected
`property Items: TBookmarkStr; default; [r]` |  | Items - the list of Bookmarks as an indexed array of strings
`end;`

## Inheritance

`TBookmarkList` |  | TBookmarkList - a list of Bookmarks in a DataBase Grid
`TObject`

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