Object Reference > True DBGrid Properties > Bookmark Property (RowBuffer) |
Bookmark Property (RowBuffer)
This property returns or sets a bookmark for the specified row within a RowBuffer object passed to an unbound event procedure for a TDBGrid control.
rowbuffer.Bookmark (Row)= variant
Read/Write at run time. Not available at design time.
The Row argument is a long integer specifying the row where the bookmark is placed. The range of this argument can be from 0 to RowCount - 1.
In unbound mode, a bookmark contains a user-defined value that uniquely identifies each row of data.
In the UnboundReadData and UnboundAddData events, your code must provide bookmarks for the rows being fetched or added. In the UnboundWriteData and UnboundDeleteRow events, the grid passes one of these bookmarks as a parameter so your code can take the appropriate action.