Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp50 - A question about - ACTIVE PAGE
Message
 
To
14/07/1997 08:59:12
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00039818
Message ID:
00039828
Views:
35
>I have a FORM that has two PAGE TABS with different tables on each PAGE. I also have a MENU that has options like NEXT and PREVIOUS record. I want to use this MENU for these PAGE TABS. How do I address the ACTIVE PAGE so that my MENU OPTIONS will know what TABLE to refer to on the PAGE TAB? Thanks…

If there are just two pages in a pageframe, try

_screen.activeform.myPageFrame.ActivePage = ;
IIF(_screen.activeform.myPageFrame.ActivePage = 1, 2, 1)

in those menu options, but you may need to add more code in case you are also use these options for moving through the records. I think, if those options are multifunctional, it may confuse the user.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform