Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number of Maximum Rows in a Grid
Message
 
 
À
29/10/2001 17:36:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00574272
Message ID:
00574846
Vues:
23
>>>I don' find any property in a Grid to tell me the number of all rows in a
>>>grid I can move up and down. Any idea?
>
>>I don't know this property either, but you can calculate it: (grid.height-
>>header height)/(rowheight+linesheight (don't know, how it called, you can
>>neglect it, since it's small))
>
>Sorry, I don't mean this number of rows, I mean number of ALL rows in the grid (not only rows which are visible in a scrollable area of a grid). With other words: I'd like to know if the current row position is a bottom of the grid.

You can check if you an eof() or not. You also can compare recno(this.recordsource) with reccount(this.recordsource), but this works for not filtered grids and if there aro no deleted records or set deleted off.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform