Thanks.
I now realize the reason it was not working for me was
that the Datagrid was set to ReadOnly. For some reason,
in that state, the DataGrid scrolls to the top after
setting the CurrentRowIndex. The "cursor" of the datagrid
is on the correct record, however.
>-----Original Message-----
>
>use the CurrentRowIndex property of the Datagrid.
>This will select the row and scroll the grid to show the
row.
>
>"Charlie Farrier" <(E-Mail Removed)> wrote in message
>news:0b3301c38c20$6f245500$(E-Mail Removed)...
>> In a Forms Datagrid, how do I scroll in code to a row
that
>> is not currently visible, to bring it into view?
>
>
>.
>
|