Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How many rows are there in grid?
Message
De
08/07/2008 06:27:44
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
07/07/2008 23:28:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01290490
Message ID:
01329668
Vues:
13
James,
Sorry I didn't understand the question. Calculating visible rows count doesn't have anything to do with where the record pointer is. Grid might even be unbound. You have rowheight, headerheight, height, sysmetric() to calculate it.
Cetin

>Cetin --
>
>A question about a message of yours from half a year ago.
>
>I asked about the use of DynamicFontShadow to determine which is the top record displayed. You suggested calculating it ...
>
>However, I don't think that works when the user has scrolled so that the active record is off the screen, does it? In my particular case, the user has scrolled down along way (the active record is way off the top of the screen). So, recno() doesn't point to a record on the screen ... and using ActivateCell, as I had been doing, jumps the grid back to the current record in the grid.
>
>Any suggestion?
>
Ç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