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:
00445273
Views:
13
>Congratulations! I may be out your way for a weekend / week depending on the new clients demands. We are going to trade out a week of our timeshare for sometine in Jan / Feb.

Great. Let me know when, and maybe you can swing on by!

>Now back to my nightmare. Your suggestion of making it right sounds like what I was planning on doing. Let me tell you there is a ton of code for functionality on these 2 forms,\.

We had changed all of our pages to be referenced via form properties for the page number, so we wouldn't have to go through all the code. That way, all of our references to the page were by a property name instead of a hard coded page number.

>Thanks on the init. I was going to do it on the pageframe.init but think that the form is a better location.
>
>__Stephen
>
>>>#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