Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting a grid to start displaying where you want it to.
Message
 
À
20/06/1999 12:42:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00231903
Message ID:
00231921
Vues:
13
>I have a grid set up on page 3 of a pageframe. The grid is supposed to show, in list form, what we are viewing in detail on page 1. Which it does.
>
>The problem is that I want the first record displayed in the grid to be the current record showing on page 1. In practice it always starts at the first record on the database. How can I force it to start where I want it to? (I've tried placing a "go recnum" in both the page 3 activate event and the grid init event - where recnum is the recno() of the current record on page 1, but with no effect)

Put in the activate event of page3 refresh the form, then set the focus on the grid. Voila.

P.S. Great flag.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform