General information
Category:
Forms & Form designer
Title:
Re: Accessing Page in a Page Frame
I create a page frame with 7 pages. After creating the pages, I rearranged the page order. Now, I have a question in referring the pages as follows.
KeyPress event is created so that whenever the user press F12, it will shift to the next page. So, I have the code
thisform.pageframe.activepage=thisform.pageframe.activepage+1.
It works fine. However, I also need to have update some of the control on the new page also. Then, I try something like that
WITH thisform.pageframe
cPageName=.pages(.activepage).name
...
...
ENDWITH
However, since I changed the pageorder, the index is not the same as the PageOrder. Do anyone know how I can refer to the new property of the new page? Thanks a lot.
Chu
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