Object Reference > TDBDropDown Properties > Bookmark Property (TDBDropDown) |
This property returns or sets the bookmark identifying the current row in a TDBGrid or TDBDropDown control.
object.Bookmark= variant
Read/Write at run time. Not available at design time.
Use the value returned by the Bookmark property to save a reference to the current row that remains valid even after another row becomes current.
When you set the Bookmark property to a valid value in code, the row associated with that value becomes the current row, and the grid adjusts its display to bring the new current row into view if necessary.
The Bookmark property is defined as a Variant to accommodate user-defined bookmarks in unbound mode.
Note
In unbound mode, setting the Bookmark property to itself will force the current row to be updated via the UnboundWriteData event.