Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How many rows are there in grid?
Message
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:
01290776
Vues:
22
>>Is there any way to see total number of non-empty rows in a grid?
>
>You can start with this raw code:
>
>Snipped...

Hey, that's interesting Fabio. I guess what's going on is VFP is saying, when it refreshes the grid, "There's something in the DynamicFontShadow property, so I need to evaluate the DynamicFontShadow." Then when it does that, the SetVar method is called, which increments the rowsData variable. And DynamicFontShadow is only evaluated for the number of visible rows with data. Now, on the day I need this, will I remember this technique <g> (or should I just put it in my grid class as a method - GetNumberOfVisibleRowsWithData).
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform