Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying Records in a Grid
Message
De
22/08/2008 00:19:29
 
 
À
21/08/2008 20:14:58
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01341004
Message ID:
01341030
Vues:
14
>I'm having trouble getting my records to show correctly in a grid. Sort of. They are all there, but sometimes if there are 5 records, only 3 will display, though the other two are at the top, but out of sight. As soon as I click on the scroll bar I can move up to them. Or with the arrow keys if I'm on a record. I know I'm not the only one to have this issue, so what do you guys do to get the records to look right? If there are a lot, then how do you get the current record to be in the middle of the grid? It annoys me and my users.
>

You can grid.DoScroll(0), for instance while .RelativeRow < 5 AND .ActiveRow > .RelativeRow.
(.ActiveRow and .RelativeRow. are empty when the grid does not have the focus).


hth
-Stefan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform