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
Title:
Activating a page on a pageframe
Miscellaneous
Thread ID:
00754557
Message ID:
00754557
Views:
40
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
Next
Reply
Map
View

Click here to load this message in the networking platform