Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PageFrame1.Page2.refresh()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00230231
Message ID:
00230236
Vues:
28
>Is there a way to "paint" a page in a page frame before displaying it? I've got a very complicated set of fields with a lot of totals that have to refresh each other, and the delay causes the page to sort of bleed through from the previous page as I'm changing pages by clicking on a tab. (Now...of course, I suppose if this were PowerPoint, this would be a feature...sort of a "block transition" or something... but it looks terrible on a slower PC). The effect is very noticable on a 100Mhz Pentium....somewhat noticeable on a 233MHz machine, and almost not noticeable at 350Mhz and up.
>
>Too...I suppose it may have to do with the refreshing sequence; basically I have code in the Thisform.pageframe1.page2.txtTotalxxx.refresh() of each total field which fires when the page becomes active. Would be nice to have something a bit more elegant, like fields which "know" that they should refresh themselves. The only way I thought this might work is with some kind of timer firing off every so often, independant of actual fields which hold the numbers which make up the totals. Right now it is the interactivechange() of those fields which call the refresh() of each total field.
>
>--- Larry

Try setting the forms .LockScreen property to .T. before you refresh the fields, and then setting it back to .F. after you're done.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform