Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activating another page
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00294387
Message ID:
00294854
Views:
29
>>I have a set of three pages ina single pageframe. The first is a list of products that restricts the list of connected products on the second page which in turn restricts the list of products on the third.
>>
>>I have come across a problem where the data may stored/retrieved incorrectly which causes problems during the drill down on the third page. I can solve this problem, but as a safe guard I would like to notify the user of the problem, disable the third page and present them with the first page.
>>
>>All is well excpet the final part where the user will be left with a disabled third page as I don't seem to be able to switc pages programatically...
>>
>>
>>My page3.click code says :
>>
>> this.parent.page1.activate
>>
>>... but it doesn't work. I've also tried '.click' but that didn't work either. How do I switch to another page programatically?
>>
>>(Version 3.00b)
>>
>>Jason
>
>Try
>
>THIS.PARENT.ActivePage = 1

I take my hat off to you sir!

Many thanks

Jason
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform