Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best Refersh Method
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00600926
Message ID:
00601115
Vues:
22
>What is the best method to refresh a form with a pageframe with multiple grids and text fields? I am now using a this.refresh() on the activate for each pageframe.
>
>Thanks,
>Jeff


Jeff, as I'm very much into speed and response I've been dealing a lot with superfluous refreshes (etc.);
To my findings explicit refreshes are not necessary at all at the form (or page(frame)) level. For controls itself it is occasionally necessary, depending on what you do, but even that one is hard to be necessary. Now sadly I can't give you the guidelines, except from something like : do the refresh at the lowest levels, so the higher level just isn't necessary anymore.

In the end I could be wrong at all, because all will also depend on what you do at the form level. So the only thing I can say is that we have all of our forms controlled by a framework, and no explicit refresh takes place anywhere. But, I had to fight for not needing it here and there.
Note that when all controlsources of a form's objects are changed in code, it would be stupid to refresh them one by one, and a refresh of the whole form (container) can be faster, depending on the number of controls in there.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform