Gets or sets the the current row.
[Visual Basic]
Public Property Row As Integer
[C#]
public int Row {get;set;}
[Delphi]
public property Row: Int32 read get_Row write set_Row;
Remarks
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.
Example
The following code assigns a current value into the Row property to update the grids current row:
' Update the grid's current row.
Me.C1TrueDBDropdown1.Row = current
· C#
// Update the grid's current row.
this.c1TrueDBDropdown1.Row = current;
· Delphi
// Update the grid's current row.
Self.C1TrueDBDropdown1.Row := current;
See Also
C1TrueDBDropdown Class | C1TrueDBDropdown Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |