ComponentOne True DBGrid Pro 8
Row Property

Specifies the display line of the current data's row.

Syntax

object.Row= integer

Remarks

Read/Write at run time. Not available at design time.

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.

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 TDBGrid 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 TDBDropDown control, changing the Row property at run time also changes the value of the SelectedItem property.

See Also

TDBGrid Control

TDBDropDown Control

 

 


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

Product Support Forum  |  Documentation Feedback