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