Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Navigation Buttons that control individual Pages
Message
 
To
06/04/2000 13:57:15
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00356409
Message ID:
00356416
Views:
16
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform