Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Display current row at the top of grid.
Message
 
À
15/02/1999 22:09:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00187898
Message ID:
00187903
Vues:
26
Hi Robert,

>When you have grid on the form and you programmatically search for a record, then refresh the grid. The active record is displayed in the middle of the grid. Which I like, but my customer wants the active record to be displayed on the first row of the grid. How do I do this?

Can't you just check the ActiveRow property of the grid, which tells you the active row number counting down from the first row in the grid, and then call the grid's DoScroll method that number of times, handing a 0 (scroll up) as the parameter each time?

Phil
Phil
_____________________________
Phil Miles
http://www.philmiles.com
phil@philmiles.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform