ComponentOne True DBGrid Pro 8
RowBookmark Method

 

Object Reference> True DBGrid Methods> RowBookmark Method

RowBookmark Method

The RowBookmark method returns a bookmark for a visible row relative to the first displayed row.

Syntax

object.RowBookmark (rownumber)

Arguments

rownumber is an integer denoting a displayed row.

Return Value

A variant containing a bookmark corresponding to the display row specified by rownumber.

Remarks

If rownumber is 0, this method returns the bookmark of the first displayed row. The value returned will be the same as that returned by the FirstRow property.

Allowable values for the rownumber argument range from 0 to VisibleRows - 1.

This method only returns the current row (as determined by the grid's Bookmark property) if the current row is visible and the rownumber argument is equal to the grid's Row property.

Note

Do not confuse the RowBookmark method with the GetBookmark method, which returns a bookmark relative to the current row, even if the row is not visible.

See Also

TDBGrid Control

TDBDropDown Control

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback