Row Property (TDBCombo)
This property specifies the zero-based index of the current row relative to the first displayed row. It may be set at run time to highlight a different cell within the current column.
object.Row= integer
Read/Write at run time. Not available at design time.
Property applies to TDBList and TDBCombo controls.
The Row property accepts values ranging from 0 to VisibleRows - 1. An error occurs if you attempt to set it to an invalid row index.
If the current row is not visible, then this property returns -1.
For a TDBList control, changing the Row property at run time does not affect selected rows. Use the collection returned by the SelBookmarks property to select or deselect individual rows.
For a TDBCombo control, changing the Row property at run time also changes the value of the SelectedItem property.
See Also