Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing the entire pageframe
Message
 
 
À
04/02/2009 09:56:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01379213
Message ID:
01379214
Vues:
18
Sam,

You can re-write it as
for each loPage in this.Pages
   loPage.refresh()
next
though it doesn't make sense to do anyway. You better refresh the page in Page.Activate()



>I want to refresh ever page of a pageframe by using the following code.
>
>FOR lnI = 1 TO this.PageCount
>	lcPageRefresh = "this.page"+TRANSFORM(lnI)+".refresh()"
>	&lcPageRefresh.
>ENDFOR
>
>
>It works fine until I came across a pageframe with one of its page named "pgSomething" instead of the default pageX, where X=the page number.
>
>How do I reference the "pgSomething" page to refresh it.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform