Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page Index vs. Page Order
Message
From
25/03/1998 11:40:41
 
 
To
25/03/1998 11:23:03
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00087016
Message ID:
00087022
Views:
27
>I understand that page index does not necessarily equal to the page order. After I created a pageframe, I rearranged the page order and thus, the page index is not the same as page order. Now, I need to move from one page to another according to their page order, and at the same time, I need to access the property of the new page. Using
>
>thisform.pageframe.pages(.activepage).property=something
>
>will change the property for the wrong page because page index is not the same as page order. Does anyone know how I can accomplish the task. Thanks in advance.
>
>Chu

If you really want to get this functionality, then do following:
1. Add new form property 'Activepageobject'
2. Add to each Page.Activate event
thisform.activepageobject=this
3. Add to Form.Destroy event
this.activepageobject=.NULL.

Now you can reference active page e.g.
=messagebox(thisform.activepageobject.name)
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform