Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
2 Q's about Pages
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00445249
Message ID:
00445250
Views:
14
>#1, How can I change the order of pages in a pageframe. User now wants page 2 to become page 3. I change the .pageorder and I see it in the designer, but in runtime it goes back to default.

In the Init of your form, or of your Pageframe, set the PageOrder for each page as you require. This sometimes gets quite messy. Usually it's better to actually redo your Pageframe in the exact order you want the tabs to appear in. Add an additional page, copy all of your controls from the original page to the new page, or move all previous page controls up one page at a time, whichever you need. Be careful if you've actually got hard coded page references in your code!

>
>#2, Change page # go to show on form opening. In the bizObject for the form I will set a property in the postint to reference. How or where can i reference this value before the form shows?
>
>Form is ...nolist
>

In the form Init, set the Pageframe.ActivePage to whichever page you want to see first.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform