Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Thisform.refresh() not updating pages in pageframe.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00125773
Message ID:
00127737
Vues:
38
>>
>>LOCAL i
>>FOR i = 1 TO THIS.PageCount
>>   IF i # THIS.ActivePage
>>      THIS.Pages(i).Refresh()
>>   ENDIF
>>ENDFOR
>>
>>This is called the terminally lazy approach :)
>
>John,
>
>The downside of your approach is that you suffer the refresh time of every page when only one is visible.

Which brings us back to the original problem.

For the record, this not so hypothetical page displays a grid the is sucked down via a SQL ODBC Data source. It can take a second or two to refresh the data.

My perfect ideal solution would be to update the visible page immediately, then if the page was changed, update the new page, and if they switch back and forth between the two pages, don't update at all.
If they have you asking the wrong questions,
they don't have to worry about the answers.
-proverbs for paranoids #3
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform