Subject | Re: [IBO] Setting currentrow in IB_Grid |
---|---|
Author | Svein Erling Tysvær |
Post date | 2001-07-13T11:52:58Z |
>When I show a form I want to set the focus to a IB_Grid and in theLee,
>grid to a specific row. How do I do this ?
>I can set the focus Grid_Adr.SetFocus;
>But how do I set the current row ?
>something like Grid_Adr.SetCurrentRow := 5;
just forget about the Grid and move the query/cursor that the grid is
displaying. I.e. to move to row number five, do something like
IB_Query1.First;
for count:=2 to 5 do
IB_Query1.Next;
HTH,
Set