>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement