Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing the entire pageframe
Message
 
 
To
04/02/2009 09:56:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01379213
Message ID:
01379214
Views:
16
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
Previous
Reply
Map
View

Click here to load this message in the networking platform