>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