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:
01379217
Views:
23
You can use Pages collection
FOR EACH loPage in This.Pages
  loPage.Refresh()
ENDFOR
>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.
>
>TIA
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform