General information
Category:
Forms & Form designer
Title:
Activating a page on a pageframe
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only