Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - A question about - ACTIVE PAGE
Message
 
À
14/07/1997 08:59:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00039818
Message ID:
00039828
Vues:
32
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform