Hi Andreas,
You always know the record from recno(). If you mean the recno() of one of visible cells yes you don't.
If you just want to activate one visible row you could call :
thisform.myGrid.ActivateCell(1,1) && Activate first visible cell
Cetin
>Hi Ric,
>
>this does not help much, because in my case I don't know
>the record. I know that it is no problem if the user clicks in the grid
>I need just keeping the record no. In my case I want to know the
>visible record without clicking into the grid.
>
>Andreas
>
>>Hi Andreas,
>>
>>Check out Thread #
616629 Message #
616629 and look at the entire thread. Vlad really helped on this one.
>>
>>HTH
>>
>>RIc
>>>Hi,
>>>
>>>is there a way to determine the visible row of a grid.
>>>Relative row works only if the active row is within the visible part.
>>>
>>>After the user does some scrolling I want to know which row
>>>is shown. It would also be of help if it is possible to make one
>>>of the visible rows the active one (just like the user clicking
>>>in the grid after scrolling).
>>>
>>>Thanks in advance
>>>
>>>Andreas