Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActivePage...Not!
Message
From
10/05/2001 15:11:50
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
08/05/2001 13:27:21
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00503661
Message ID:
00505934
Views:
28
>This was a wizard-type form, with several scenarios, so it could run with just page1 and page4 being active (simplest case), or with additional pageframes being instantiated in page2 and/or page3, depending on the options chosen on page1. Paths could be varying, and I wanted a simple way to jump back. I created two methods, StorePage and PrevPage. The first would store a reference to the current page into an array property on the form, and the other would just activate the previously stored page. This particular piece of code was in PrevPage. This allowed me to retrace any possible path through pages and pages within pageframes within pages (freely mixed).

Dragan,

I finally having this working the way you likely intended it to...almost. In the above paragraph you said that it would work with pageframes inside of pageframes. I have a second pageframe on one of the pages of the first pageframe and the only way I can get a page on the inside pageframe to display as active is to first set its parent page active. Another issue is that once I'm on one of the inside pages, it will not come back to one of the outer ones without clicking on that outer page. It works fine within each respective frame, but not between them. That makes sense to me since we are only keeping track of the most previous page, but did you do something special in yours to handle the multiple pageframes? I can send you the simple example form I'm using to test this if you need more detail. Thanks!

Renoir
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform