Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine visible row in grid
Message
De
09/03/2002 07:51:35
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00629882
Message ID:
00630558
Vues:
29
This message has been marked as the solution to the initial question of the thread.
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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform