Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activating a page on a pageframe
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00754557
Message ID:
00754631
Views:
20
Hi,

I believe it goes like this:
ThisForm.PageFrame.Pages(ThisForm.PageFrame.ActivePage).Property
HTH,
Arriyel

>I am sure this has been answered thousands on times, but I cannot find any reference to this.
>
>I am creating a "wizard" using a pageframe.
>My "next" button is not on the pageframe but on the form.
>On each page of the Pageframe I have a container that has certain functions like GotoNextPage
>
>When someone clicks next, I want to call one of these methods.
>
>At the moment the code reads something like:
>
>DO CASE
>CASE THIS.pgfWizard.ActivePage = 1
> THIS.pgfWizard.Page1.cntWizard.GoToNextPage()
>CASE THIS.pgfWizard.ActivePage = 2
> THIS.pgfWizard.Page2.cntWizard.GoToNextPage()
>
>Obviously this coding does not help me in the future. How do I reference an object on the actual ActivePage?
>
>TIA
>Mark
Speak using soft and sweet words in case you have to eat them later.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform