Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
? Coding for refreshing text boxes on page frame
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00009480
Message ID:
00009946
Vues:
41
>>On a simple form with a page frame and several pages, a command
>>button is located on the form. Where can I put refresh code (in the class)
>>to refresh objects on ALL pages when this button calls a thisform.refresh
>>in its Click method?
>
>Is there a reason to need to have all the pages refresh at once? It is more efficient if you add a this.Refresh to the Activate method of each page. It's true that there is no way to automate this, but, IMNSHO, it's worth the effort to get the speed-up....

You're right, Garrett. It does slow processing to have all pages refresh before we're even sure that we'll access them. I was looking for a good way to set and forget this refresh even when pages were added during design. I believe your suggestion is probably best.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform