Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to refresh ALL pages
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00248282
Message ID:
00248286
Vues:
20
>I have a form , includes 1 Grid page, and 5 data pages. I am trying to refresh the whole from, as I move from record to record in the grid. Can I do this from 1 command. I have the following code, but it aint working:
>
>In AfterRowColChange in the grid:
> lcView = xxxx && Assign my view parameter from grid alias
> requery()
> this.refresh()
> thisform.refresh
>
>I thought that thisform.refresh would refresh all my pages, but for each page I have to go right into the field before I get the correct data.

No, it's by design, you don't want to refresh all the pages at once, or performance may suffer. The usual way to deal with it is to put

This.Refresh

in each page Activate...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform