Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Re: Accessing Page in a Page Frame
Message
From
24/03/1998 20:17:22
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: Accessing Page in a Page Frame
Miscellaneous
Thread ID:
00086869
Message ID:
00086869
Views:
71
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
Map
View

Click here to load this message in the networking platform