Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Thisform.refresh() not updating pages in pageframe.
Message
De
17/08/1998 13:40:32
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00125773
Message ID:
00127486
Vues:
37
Hiya Jim ---

>
>If I have a page that takes 1 second to refresh I would seriously review my design. That page is very likely overly complicated.
>

I think that would depend on why it takes over a second. I've had some complex grids that slowed down page refresh to 1-2 seconds.

>I use decorator objects that issue a THIS.Parent.Refresh() in their UIEnabled Event and just put one on each page.

Hmmm....that's a "refreshing" idea. I use a Page's UIEnable for THIS.Refresh to catch the Activates but I also put into the Pageframes Refresh:
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 Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform