Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActivePage and Pages collection not the same.
Message
From
10/01/2000 20:05:01
 
 
To
10/01/2000 19:44:19
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00315867
Message ID:
00315872
Views:
28
Dan-

Where is this code? And what does happen?

I put the following code in the page3 activate of a pf where I've changed the pageorder property of page4 to 1:
this.parent.activepage = 1
NODEFAULT
And, it works correctly.

>I've known this from before but how do I'm trying to setup a generic routine and am not sure how to proceed.
>
>Here is the code:
>
>IF NOT THISFORM.PageFrame1.Pages( THISFORM.PageFrame1.ActivePage ).Enabled
>     THISFORM.PageFrame.ActivePage = 1
>ENDIF
>
>
>Well in design, the original order has swapped pages and none of the pages are in their original position. So how do I make a generic routine that will work with what I am trying to do above.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform