Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing the entire pageframe
Message
From
04/02/2009 10:17:37
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01379213
Message ID:
01379222
Views:
20
thank you Sergey
thank you Naomi
thank you Tracy


>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
The American Republic will endure, until politicians realize they can bribe the people with their own money.
- Alexis de Tocqueville

No man’s life, liberty, or property is safe while the legislature is in session.
– Mark Twain (1866)
Previous
Reply
Map
View

Click here to load this message in the networking platform