Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding out what records are visible in a grid...
Message
De
07/01/2000 12:03:56
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
07/01/2000 11:42:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00314539
Message ID:
00314550
Vues:
29
>Is there a way to tell what table records are presently visible in a grid?
>
>TIA
>
>Rob.


I use grid math for it. Something like this :

with this
lnRecsVisible = int((.height - .headerheight)/.rowheight)
endwith

Current record could be found by grid.relativerow. So it's possible to calculate how much to skip backward, forward to get visible top, bottom. Of course it's not easy if buffering is on and rec pointer movement is a problem.
Cetin
Ç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