Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Navigation Buttons that control individual Pages
Message
 
À
06/04/2000 13:57:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00356409
Message ID:
00356416
Vues:
17
>I have a pagframe that show information from a different table on each of the pages. How do I make navigation buttons (Top, Next, Prev, etc.) That control the individual pages. I have a set of navigation buttons now, but they only control on page of the form.

In my application object a mantenance form (one where data will be updated) has a property on it called MainTable. You enter the name of the main table that all the controls will operate against. So my next/previous/top..etc buttons all operate against the table that is defined in the form property MainTable. This way when I have a form with a page frame with several tabs and each one does something for one table or another then the activate method of the page changes the value in the MainTable property. So if the user presses the Next Button it will move the table that is shown in the page that the user is currently sitting on.

Hope this helps..
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform