Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating all pages in a frame not just active page
Message
De
20/05/1998 23:39:57
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00100685
Message ID:
00100707
Vues:
76
Hi guys --- considering that I am "Cheezy Solutions R Us" I have a real mozzarella for you:

In the Refresh method of the PageFrame, put the following code:

LOCAL i
FOR i = 1 TO THIS.PageCount
THIS.Pages(i).Refresh()
ENDFOR

If you really want to get slick, wrap the Refresh in an IF..ENDIF to ensure that Refresh isn't fired for ActivePage (to avoid double refresh)





>
>On my website is a PageRefresher class, with it one simple mod to the Init method of your lowest level PageFrame class and the problem goes away.
>
>>this is becoming a problem, does anybody know how I can update all pages in a frame visible or not?
------------------------------------------------
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