ComponentOne List 8.0 for ActiveX
RowBookmark Method (TDBCombo)

 

TDBCombo Reference> TDBCombo Methods> RowBookmark Method (TDBCombo)

RowBookmark Method (TDBCombo)

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

Method applies to TDBList and TDBCombo controls.

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 control's Bookmark property) if the current row is visible and the rownumber argument is equal to the control'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

TDBList and TDBCombo Controls

 

 


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

Product Support Forum  |  Documentation Feedback