Object Reference > True DBGrid Methods > IsSelected Method |
IsSelected Method
The IsSelected method returns the zero-based index of the specified bookmark within the grid's SelBookmarks collection.
TDBGrid.IsSelected (bookmark)
Arguments
bookmark is a variant that identifies a particular row of data.
Return Value
An integer representing an index within the SelBookmarks collection.
If the bookmark is not present in the SelBookmarks collection, this method returns -1.