Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rows in Grids
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00003307
Message ID:
00003341
Vues:
35
>There are as many rows as there are records in the table/cursor that the grid is bound to. There is no property which gives you a number of displayed rows. You would have to calculate the number of rows: e.g., (Grid.height - HeaderHeight)/RowHeight
>And then it would be approximate if you had a horizontal scroll bar. I suppose you could subtract the HeaderHeight twice if its near the same height as the horizontal scroll bar.
>HTH 8-)

Michel

I should have specified Data rows. The problem arises from the fact I am using a filter in the Grid.

Thanks
Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform