Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VFP pageframe page order

Status
Not open for further replies.

RCorey

IS-IT--Management
Nov 21, 2002
4
US
Several very old threads here about the page order on page frames reverting when the form is reopened. I find that carefully cutting and pasting to rearrange the individual pages in the desired page order in the properties field of the pageframe object in the forms .scx then keeps the page order. Suppose I want page7 to be page order 2 but just resetting the page order property won't hold. Move all the Page7 properties up to between the Page1 and Page2 properties and it will hold:

...
Page1.Caption = "\<Customer(s)"
Page1.PageOrder = 1
Page1.Name = "Page1"
...
Page7.Caption = "\<Orders"
Page7.PageOrder = 2
Page7.Name = "Page7"
...
Page2.Caption = "\<Invoices"
Page2.PageOrder = 3
Page2.Name = "Page2"
...
 
What version of foxpro are you using? Are you really hacking the properties memo of an scx or vcx, like your posted code suggests?

I can change the page order of pages in a pageframe visually via propertis window, and that settings persist. The only flaw I see is the form designer showing a wrong page active, when I edit the form. I actually need to click on the already active page to really make it active and only then am able to change to another page. But otherwise this persists and runtime behaviour also is normal.

Bye, Olaf.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top